Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
This commit is contained in:
@@ -93,7 +93,7 @@ function cssTokenizerWithLineColumn(string) {
|
||||
if (prevToken) {
|
||||
prevToken.loc.end = {
|
||||
line: lineNumber,
|
||||
column: columnNumber
|
||||
column: columnNumber,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ function cssTokenizerWithLineColumn(string) {
|
||||
} else {
|
||||
const startLoc = {
|
||||
line: lineNumber,
|
||||
column: columnNumber
|
||||
column: columnNumber,
|
||||
};
|
||||
token.loc = {start: startLoc};
|
||||
|
||||
@@ -1267,7 +1267,7 @@ function parseSingleValue(isCssPropertyKnown, value) {
|
||||
"a: " + value + ";")[0];
|
||||
return {
|
||||
value: declaration ? declaration.value : "",
|
||||
priority: declaration ? declaration.priority : ""
|
||||
priority: declaration ? declaration.priority : "",
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user