Bug 1536645 - Remove unnecessary rule definitions (obsolete, no need to override etc) in accessible/tests/browser/.eslintrc.js. r=surkov
authorMark Banner <standard8@mozilla.com>
Thu, 21 Mar 2019 08:51:08 +0000
changeset 465395 5c681491ba94818cfb06f08ff061c32fe7668960
parent 465394 bdd4df54671bee54c1c1a2e64479dec8f439c518
child 465396 d03df68738c80cce9182ea0113244633a42bca4e
push id35738
push userccoroiu@mozilla.com
push dateThu, 21 Mar 2019 21:59:09 +0000
treeherdermozilla-central@7eb8e627961c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssurkov
bugs1536645
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
accessible/tests/browser/.eslintrc.js
--- a/accessible/tests/browser/.eslintrc.js
+++ b/accessible/tests/browser/.eslintrc.js
@@ -11,93 +11,38 @@ module.exports = {
     "mozilla/no-aArgs": "error",
     "mozilla/reject-importGlobalProperties": ["error", "everything"],
     "mozilla/var-only-at-top-level": "error",
 
     "block-scoped-var": "error",
     "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"]
   }
 };