diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2016-05-10 12:12:28 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2016-06-11 10:41:33 +0300 |
commit | 58c6ca9822afa42d3b40cca8edb0abe90a2bcb34 (patch) | |
tree | eb8c4c93031b4f0d88ffe5d58af7d58337c7b116 /src/.eslintrc | |
parent | a4474c9a0025095f82d734a9d7230eace2f08ef8 (diff) | |
download | jquery-58c6ca9822afa42d3b40cca8edb0abe90a2bcb34.tar.gz jquery-58c6ca9822afa42d3b40cca8edb0abe90a2bcb34.zip |
Build: ESLint details
Use eslint pragmas, fix new errors, etc
Closes gh-3148
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"] + } } |