Bug 1478572 - Fix eslint bustage by re-adding missing exceptions; a=bustage DONTBUILD
This commit is contained in:
Родитель
8a005d7161
Коммит
0a780f7712
10
.eslintrc.js
10
.eslintrc.js
|
@ -19,7 +19,15 @@ module.exports = {
|
|||
// XXX We are waiting for m-c to create a script to fix these in bug 1433175.
|
||||
// Disabling this rule as part of bug 1436605 until that is the case.
|
||||
"mozilla/use-cc-etc": "off",
|
||||
"no-multi-spaces": ["error", { ignoreEOLComments: true }],
|
||||
"no-multi-spaces": ["error", {
|
||||
exceptions: {
|
||||
"ArrayExpression": true,
|
||||
"AssignmentExpression": true,
|
||||
"ObjectExpression": true,
|
||||
"VariableDeclarator": true
|
||||
},
|
||||
ignoreEOLComments: true
|
||||
}]
|
||||
},
|
||||
|
||||
// The html plugin is enabled via a command line option on eslint. To avoid
|
||||
|
|
|
@ -644,7 +644,7 @@
|
|||
var docElt = document.documentElement;
|
||||
var acceptButton = docElt.getButton("accept");
|
||||
acceptButton.hidden = true;
|
||||
var cancelButton = docElt.getButton("cancel");
|
||||
var cancelButton = docElt.getButton("cancel");
|
||||
if (/Mac/.test(navigator.platform)) {
|
||||
// no buttons on Mac except Help
|
||||
cancelButton.hidden = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче