diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2016-07-29 22:18:58 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2016-08-02 21:16:20 +0300 |
commit | 6acf4a79467a5aea5bc1eb7d552d72366718635d (patch) | |
tree | 595a026a2f06f22dbc5ad23641c13edf1058dd7b /src/.eslintrc.json | |
parent | 308e4b534b8b8bddff85b6327481d0cee6f70a2a (diff) | |
download | jquery-6acf4a79467a5aea5bc1eb7d552d72366718635d.tar.gz jquery-6acf4a79467a5aea5bc1eb7d552d72366718635d.zip |
Build: .eslintrc -> .eslintrc.json
`.eslintrc` format is deprecated -
http://eslint.org/docs/user-guide/configuring#configuration-file-formats
Fixes gh-3248
Closes gh-3247
Diffstat (limited to 'src/.eslintrc.json')
-rw-r--r-- | src/.eslintrc.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/.eslintrc.json b/src/.eslintrc.json new file mode 100644 index 000000000..dbf16c584 --- /dev/null +++ b/src/.eslintrc.json @@ -0,0 +1,18 @@ +{ + // 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"] + } +} |