mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
33 lines
826 B
JSON
33 lines
826 B
JSON
{
|
|
"root": true,
|
|
|
|
"extends": "jquery",
|
|
|
|
// 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
|
|
},
|
|
|
|
// The browser env is not enabled on purpose so that code takes
|
|
// all browser-only globals from window instead of assuming
|
|
// they're available as globals. This makes it possible to use
|
|
// jQuery with tools like jsdom which provide a custom window
|
|
// implementation.
|
|
"env": {},
|
|
|
|
"globals": {
|
|
"window": true
|
|
},
|
|
|
|
"rules": {
|
|
"one-var": [ "error", { "var": "always" } ],
|
|
"strict": [ "error", "function" ],
|
|
|
|
// Support: IE <=9 only, Android <=4.0 only
|
|
// Allow square bracket notation for ES3 reserved words
|
|
"dot-notation": [ "error", { "allowKeywords": false } ]
|
|
}
|
|
}
|