Loading .eslintrc.js +9 −0 Original line number Diff line number Diff line Loading @@ -16,4 +16,13 @@ module.exports = { "settings": { "html/xml-extensions": [ ".xhtml" ] }, "overrides": [{ // eslint-plugin-html handles eol-last slightly different - it applies to // each set of script tags, so we turn it off here. "files": "**/*.*html", "rules": { "eol-last": "off", } }] }; accessible/tests/browser/.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ module.exports = { "func-names": "off", "func-style": "off", "handle-callback-err": ["error", "er"], "indent": ["error", 2, {"SwitchCase": 1}], "indent-legacy": ["error", 2, {"SwitchCase": 1}], "max-nested-callbacks": ["error", 4], "max-params": "off", "max-statements": "off", Loading browser/components/migration/.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ module.exports = { "block-scoped-var": "error", "comma-dangle": "off", "complexity": ["error", {"max": 21}], "indent": ["error", 2, {"SwitchCase": 1, "ArrayExpression": "first", "ObjectExpression": "first"}], "indent-legacy": ["error", 2, {"SwitchCase": 1, "ArrayExpression": "first", "ObjectExpression": "first"}], "max-nested-callbacks": ["error", 3], "new-parens": "error", "no-extend-native": "error", Loading browser/extensions/formautofill/.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ module.exports = { "curly": ["error", "all"], // Two space indent "indent": ["error", 2, {"SwitchCase": 1}], "indent-legacy": ["error", 2, {"SwitchCase": 1}], // Always require parenthesis for new calls "new-parens": "error", Loading devtools/.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -143,7 +143,7 @@ module.exports = { // Only useful in a node environment. "handle-callback-err": "off", // Tab width. "indent": ["error", 2, {"SwitchCase": 1, "ArrayExpression": "first", "ObjectExpression": "first"}], "indent-legacy": ["error", 2, {"SwitchCase": 1, "ArrayExpression": "first", "ObjectExpression": "first"}], // Enforces spacing between keys and values in object literal properties. "key-spacing": ["error", {"beforeColon": false, "afterColon": true}], // Enforces unix style line breaks. Loading Loading
.eslintrc.js +9 −0 Original line number Diff line number Diff line Loading @@ -16,4 +16,13 @@ module.exports = { "settings": { "html/xml-extensions": [ ".xhtml" ] }, "overrides": [{ // eslint-plugin-html handles eol-last slightly different - it applies to // each set of script tags, so we turn it off here. "files": "**/*.*html", "rules": { "eol-last": "off", } }] };
accessible/tests/browser/.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ module.exports = { "func-names": "off", "func-style": "off", "handle-callback-err": ["error", "er"], "indent": ["error", 2, {"SwitchCase": 1}], "indent-legacy": ["error", 2, {"SwitchCase": 1}], "max-nested-callbacks": ["error", 4], "max-params": "off", "max-statements": "off", Loading
browser/components/migration/.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ module.exports = { "block-scoped-var": "error", "comma-dangle": "off", "complexity": ["error", {"max": 21}], "indent": ["error", 2, {"SwitchCase": 1, "ArrayExpression": "first", "ObjectExpression": "first"}], "indent-legacy": ["error", 2, {"SwitchCase": 1, "ArrayExpression": "first", "ObjectExpression": "first"}], "max-nested-callbacks": ["error", 3], "new-parens": "error", "no-extend-native": "error", Loading
browser/extensions/formautofill/.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ module.exports = { "curly": ["error", "all"], // Two space indent "indent": ["error", 2, {"SwitchCase": 1}], "indent-legacy": ["error", 2, {"SwitchCase": 1}], // Always require parenthesis for new calls "new-parens": "error", Loading
devtools/.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -143,7 +143,7 @@ module.exports = { // Only useful in a node environment. "handle-callback-err": "off", // Tab width. "indent": ["error", 2, {"SwitchCase": 1, "ArrayExpression": "first", "ObjectExpression": "first"}], "indent-legacy": ["error", 2, {"SwitchCase": 1, "ArrayExpression": "first", "ObjectExpression": "first"}], // Enforces spacing between keys and values in object literal properties. "key-spacing": ["error", {"beforeColon": false, "afterColon": true}], // Enforces unix style line breaks. Loading