Bug 1478572 - Fix eslint bustage by re-adding missing exceptions; a=bustage DONTBUILD

This commit is contained in:
Geoff Lankow 2018-07-27 11:13:15 +12:00
Родитель 8a005d7161
Коммит 0a780f7712
2 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -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;