3.6.4
[jquery.git] / .eslintrc-browser.json
blobd27ff6eaca5e4fcba83a3e2fc977044f7416e05f
2         "root": true,
4         "extends": "jquery",
6         "reportUnusedDisableDirectives": true,
8         // Support: IE <=9 only, Android <=4.0 only
9         // The above browsers are failing a lot of tests in the ES5
10         // test suite at http://test262.ecmascript.org.
11         "parserOptions": {
12                 "ecmaVersion": 3
13         },
15         // The browser env is not enabled on purpose so that code takes
16         // all browser-only globals from window instead of assuming
17         // they're available as globals. This makes it possible to use
18         // jQuery with tools like jsdom which provide a custom window
19         // implementation.
20         "env": {},
22         "globals": {
23                 "window": true,
24                 "define": true,
25                 "module": true
26         },
28         "rules": {
29                 "one-var": ["error", {"var": "always"}],
30                 "strict": ["error", "function"]
31         }