Bug 1536645 - Remove unnecessary rule definitions (obsolete, no need to override etc) in accessible/tests/browser/.eslintrc.js. r=surkov

Differential Revision: https://phabricator.services.mozilla.com/D24104

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mark Banner 2019-03-21 08:51:08 +00:00
parent 8d13f2b57d
commit 4896af57f9

View File

@ -16,88 +16,33 @@ module.exports = {
"camelcase": "error",
"comma-dangle": ["error", "never"],
"complexity": ["error", 20],
"consistent-this": "off",
"curly": ["error", "multi-line"],
"default-case": "off",
"dot-location": ["error", "property"],
"eqeqeq": "off",
"func-names": "off",
"func-style": "off",
"handle-callback-err": ["error", "er"],
"indent-legacy": ["error", 2, {"SwitchCase": 1}],
"max-nested-callbacks": ["error", 4],
"max-params": "off",
"max-statements": "off",
"new-cap": ["error", {"capIsNew": false}],
"new-parens": "error",
"no-bitwise": "off",
"no-console": "off",
"no-constant-condition": "off",
"no-continue": "off",
"no-div-regex": "off",
"no-extend-native": "error",
"no-extra-parens": "off",
"no-fallthrough": "error",
"no-floating-decimal": "off",
"no-inline-comments": "off",
"no-mixed-requires": "off",
"no-multi-str": "error",
"no-multiple-empty-lines": ["error", {"max": 1}],
"no-new-require": "off",
"no-param-reassign": "off",
"no-path-concat": "off",
"no-plusplus": "off",
"no-process-env": "off",
"no-process-exit": "off",
"no-proto": "error",
"no-restricted-modules": "off",
"no-return-assign": "error",
"no-script-url": "off",
"no-shadow": "error",
"no-sync": "off",
"no-ternary": "off",
"no-underscore-dangle": "off",
"no-undefined": "off",
"no-unused-vars": ["error", {"vars": "all", "args": "none"}],
"no-use-before-define": "off",
"no-var": "off",
"no-warning-comments": "off",
"object-shorthand": "off",
"one-var": ["error", "never"],
"quote-props": "off",
"radix": "error",
"semi-spacing": ["error", {"before": false, "after": true}],
"sort-vars": "off",
"space-in-parens": ["error", "never"],
"strict": ["error", "global"],
"valid-jsdoc": "off",
"vars-on-top": "off",
"wrap-iife": "off",
"wrap-regex": "off",
"yoda": "error",
"guard-for-in": "off",
"no-alert": "off",
"no-eq-null": "off",
"no-func-assign": "off",
"no-implied-eval": "off",
"no-inner-declarations": "off",
"no-invalid-regexp": "off",
"no-irregular-whitespace": "off",
"no-iterator": "off",
"no-label-var": "off",
"no-lone-blocks": "off",
"no-loop-func": "off",
"no-new": "off",
"no-new-func": "off",
"no-new-object": "off",
"no-obj-calls": "off",
"no-octal-escape": "off",
"no-undef-init": "error",
"object-curly-spacing": "off",
"no-unused-expressions": "off",
"no-void": "off",
"operator-assignment": "off",
"operator-linebreak": ["error", "after"]
}
};