diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2016-05-10 12:06:37 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2016-06-11 10:39:51 +0300 |
commit | f80ae67c53c0a4bfc95741ed39d7f9e498eaf02b (patch) | |
tree | 0499a584312648dabec36e3803b0ed5354146def /src | |
parent | 019c8f1f41de8696b2b90c43648fe339efdb6a02 (diff) | |
download | jquery-f80ae67c53c0a4bfc95741ed39d7f9e498eaf02b.tar.gz jquery-f80ae67c53c0a4bfc95741ed39d7f9e498eaf02b.zip |
Build: Switch from jscs+jshint to eslint
Diffstat (limited to 'src')
-rw-r--r-- | src/.eslintrc | 15 | ||||
-rw-r--r-- | src/.jshintrc | 30 |
2 files changed, 15 insertions, 30 deletions
diff --git a/src/.eslintrc b/src/.eslintrc new file mode 100644 index 000000000..ef090331f --- /dev/null +++ b/src/.eslintrc @@ -0,0 +1,15 @@ +{ + "env": { + "browser" + }, + "extends": "../.eslintrc", + "root": true, + "globals": { + "window": true, + "JSON": false, + "jQuery": true, + "define": true, + "module": true, + "noGlobal": true + } +} diff --git a/src/.jshintrc b/src/.jshintrc deleted file mode 100644 index c3506e70f..000000000 --- a/src/.jshintrc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "boss": true, - "curly": true, - "eqeqeq": true, - "eqnull": true, - "expr": true, - "immed": true, - "noarg": true, - "quotmark": "double", - "strict": true, - "undef": true, - "unused": true, - - "sub": 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. - "es3": true, - - "globals": { - "window": true, - "JSON": false, - - "jQuery": true, - "define": true, - "module": true, - "noGlobal": true - } -} |