From 2914bb987a6ef6539a72fd36c44eb3ee237b8a6f Mon Sep 17 00:00:00 2001 From: Colin Marshall Date: Tue, 16 Feb 2016 21:05:33 -0700 Subject: [PATCH] Updated ESLint rules --- .eslintrc | 53 ++++++++++++++++++++--------------------------------- 1 file changed, 20 insertions(+), 33 deletions(-) diff --git a/.eslintrc b/.eslintrc index 512d32e59..e457c2f6f 100644 --- a/.eslintrc +++ b/.eslintrc @@ -13,66 +13,53 @@ "Foundation": true }, "parser": "babel-eslint", + "parserOptions": { + "ecmaFeatures": { + "impliedStrict": true, + "jsx": false + }, + "ecmaVersion": 6, + "sourceType": "module" + }, "rules": { "block-scoped-var": 2, "camelcase": 2, - "comma-style": [ - 2, - "last" - ], - "curly": [ - 2, - "all" - ], + "comma-style": [2, "last"], + "curly": [0, "all"], "dot-notation": [ 2, { "allowKeywords": true } ], - "eqeqeq": [ - 2, - "allow-null" - ], + "eqeqeq": [2, "allow-null"], "guard-for-in": 2, "new-cap": 2, "no-bitwise": 2, "no-caller": 2, - "no-cond-assign": [ - 2, - "except-parens" - ], + "no-cond-assign": [2, "except-parens"], "no-debugger": 2, "no-empty": 2, "no-eval": 2, "no-extend-native": 2, - "no-extra-parens": 2, + "no-extra-parens": 1, "no-irregular-whitespace": 2, "no-iterator": 2, "no-loop-func": 2, "no-multi-str": 2, "no-new": 2, - "no-plusplus": 2, + "no-plusplus": 0, "no-proto": 2, "no-script-url": 2, "no-sequences": 2, - "no-shadow": 2, + "no-shadow": 1, "no-undef": 2, - "no-unused-vars": 2, + "no-unused-vars": 1, "no-with": 2, - "quotes": [ - 2, - "single" - ], - "semi": [ - 0, - "never" - ], - "strict": [2, "global"], + "quotes": 0, + "semi": [0, "never"], + "strict": [1, "global"], "valid-typeof": 2, - "wrap-iife": [ - 2, - "inside" - ] + "wrap-iife": [2, "inside"] } } \ No newline at end of file -- 2.47.2