From 6acf4a79467a5aea5bc1eb7d552d72366718635d Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Fri, 29 Jul 2016 22:18:58 +0300 Subject: Build: .eslintrc -> .eslintrc.json `.eslintrc` format is deprecated - http://eslint.org/docs/user-guide/configuring#configuration-file-formats Fixes gh-3248 Closes gh-3247 --- src/.eslintrc.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/.eslintrc.json (limited to 'src/.eslintrc.json') 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"] + } +} -- cgit v1.2.3