Tighten eslint rules with zero errors to airbnb values.

block-scoped-vars, guard-for-in, radix and valid-typeof are eslint
rules that were set to warning in the eslintrc. Since there
are no errors, they have been toggled to the appropriate values
from the airbnb style guide.
This commit is contained in:
Arpith Siromoney 2016-11-27 14:31:39 +05:30 committed by Tim Abbott
parent 287eb2cd49
commit e2270f5499
1 changed files with 4 additions and 4 deletions

View File

@ -146,13 +146,13 @@
"no-redeclare": 2, "no-redeclare": 2,
"no-regex-spaces": 2, "no-regex-spaces": 2,
"brace-style": [1, "1tbs"], "brace-style": [1, "1tbs"],
"block-scoped-var": 0, "block-scoped-var": 2,
"camelcase": 1, "camelcase": 1,
"complexity": [0, 4], "complexity": [0, 4],
"curly": 2, "curly": 2,
"dot-notation": 2, "dot-notation": 2,
"eqeqeq": 2, "eqeqeq": 2,
"guard-for-in": 0, "guard-for-in": 2,
"max-depth": [0, 4], "max-depth": [0, 4],
"max-len": [0, 80, 4], "max-len": [0, 80, 4],
"max-params": [0, 3], "max-params": [0, 3],
@ -162,14 +162,14 @@
"one-var": 1, "one-var": 1,
"quotes": [1, "single"], "quotes": [1, "single"],
"quote-props": 0, "quote-props": 0,
"radix": 0, "radix": 2,
"semi": 2, "semi": 2,
"keyword-spacing": 1, "keyword-spacing": 1,
"space-before-blocks": 1, "space-before-blocks": 1,
"strict": 1, "strict": 1,
"unnecessary-strict": 0, "unnecessary-strict": 0,
"use-isnan": 2, "use-isnan": 2,
"valid-typeof": 0, "valid-typeof": ['error', { requireStringLiterals: true }],
"wrap-iife": 2, "wrap-iife": 2,
"wrap-regex": 0, "wrap-regex": 0,
"yoda": 1 "yoda": 1