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