aboutsummaryrefslogtreecommitdiffstats
path: root/src/.eslintrc.json
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2016-07-29 22:18:58 +0300
committerOleg Gaidarenko <markelog@gmail.com>2016-08-02 21:16:20 +0300
commit6acf4a79467a5aea5bc1eb7d552d72366718635d (patch)
tree595a026a2f06f22dbc5ad23641c13edf1058dd7b /src/.eslintrc.json
parent308e4b534b8b8bddff85b6327481d0cee6f70a2a (diff)
downloadjquery-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.json18
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"]
+ }
+}