Skip to content

Commit

Permalink
eslint: Remove unnecessary and deprecated rules
Browse files Browse the repository at this point in the history
  • Loading branch information
nwoltman committed Oct 25, 2016
1 parent 1afdad4 commit 724d1cc
Showing 1 changed file with 5 additions and 30 deletions.
35 changes: 5 additions & 30 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,52 +8,38 @@
"block-scoped-var": 2,
"block-spacing": 2,
"brace-style": 2,
"callback-return": 2,
"camelcase": 2,
"comma-dangle": [2, "always-multiline"],
"comma-spacing": 2,
"comma-style": 2,
"computed-property-spacing": 2,
"consistent-return": 2,
"consistent-this": [2, "_this"],
"dot-location": [2, "property"],
"dot-notation": 2,
"eol-last": 2,
"eqeqeq": [2, "allow-null"],
"eqeqeq": [2, "always", {"null": "ignore"}],
"func-style": [2, "declaration"],
"global-require": 2,
"handle-callback-err": [2, "^(?:err(?:or)?)$"],
"indent": [2, 2, {"SwitchCase": 1}],
"key-spacing": 2,
"keyword-spacing": 2,
"max-len": [2, 120, 2, {"ignoreUrls": true}],
"max-nested-callbacks": [2, 3],
"new-cap": 2,
"new-parens": 2,
"max-len": [2, {"code": 120, "ignoreUrls": true}],
"no-array-constructor": 2,
"no-console": 2,
"no-constant-condition": 2,
"no-control-regex": 2,
"no-delete-var": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-else-return": 2,
"no-empty": 2,
"no-empty-character-class": 2,
"no-empty-pattern": 2,
"no-eval": 2,
"no-ex-assign": 2,
"no-extend-native": [2, {"exceptions": ["Array"]}],
"no-extra-bind": 2,
"no-extend-native": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": 2,
"no-extra-semi": 2,
"no-fallthrough": 2,
"no-floating-decimal": 2,
"no-func-assign": 2,
"no-implied-eval": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-irregular-whitespace": [2, {"skipStrings": false}],
"no-label-var": 2,
"no-lone-blocks": 2,
"no-lonely-if": 2,
Expand All @@ -62,35 +48,26 @@
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-multiple-empty-lines": [2, {"max": 2}],
"no-negated-condition": 1,
"no-negated-in-lhs": 2,
"no-nested-ternary": 2,
"no-new": 2,
"no-new-object": 2,
"no-new-require": 2,
"no-new-wrappers": 2,
"no-octal-escape": 2,
"no-path-concat": 2,
"no-process-exit": 2,
"no-proto": 2,
"no-redeclare": [2, {"builtinGlobals": true}],
"no-regex-spaces": 2,
"no-return-assign": [2, "always"],
"no-script-url": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-shadow": [2, {"builtinGlobals": true}],
"no-shadow-restricted-names": 2,
"no-spaced-func": 2,
"no-sparse-arrays": 2,
"no-throw-literal": 2,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-undef-init": 2,
"no-underscore-dangle": [2, {"allow": ["_this"]}],
"no-unexpected-multiline": 2,
"no-unneeded-ternary": [2, {"defaultAssignment": true}],
"no-unreachable": 2,
"no-unsafe-negation": 2,
"no-unused-expressions": [2, {"allowShortCircuit": true}],
"no-unused-vars": 2,
"no-use-before-define": [2, "nofunc"],
Expand All @@ -101,7 +78,6 @@
"no-with": 2,
"object-curly-spacing": 2,
"one-var": [2, "never"],
"operator-assignment": [1, "always"],
"operator-linebreak": 2,
"quote-props": [2, "as-needed"],
"quotes": [2, "single", "avoid-escape"],
Expand All @@ -116,7 +92,6 @@
"strict": [2, "global"],
"use-isnan": 2,
"valid-typeof": 2,
"wrap-iife": [2, "inside"],
"yoda": [2, "never", {"exceptRange": true}]
}
}

0 comments on commit 724d1cc

Please sign in to comment.