diff options
Diffstat (limited to 'src/.eslintrc')
-rw-r--r-- | src/.eslintrc | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/src/.eslintrc b/src/.eslintrc index ef090331f..dbf16c584 100644 --- a/src/.eslintrc +++ b/src/.eslintrc @@ -1,15 +1,18 @@ { - "env": { - "browser" - }, - "extends": "../.eslintrc", - "root": true, - "globals": { - "window": true, - "JSON": false, - "jQuery": true, - "define": true, - "module": true, - "noGlobal": true - } + // Support: IE <=9 only, Android <=4.0 only + // The above browsers are failing a lot of tests in the ES5 + // test suite at http://test262.ecmascript.org. + "parserOptions": { + "ecmaVersion": 3 + }, + "globals": { + "window": true, + "jQuery": true, + "define": true, + "module": true, + "noGlobal": true + }, + "rules": { + "strict": ["error", "function"] + } } |