2016-05-10 09:12:28 +00:00
|
|
|
{
|
2016-11-02 23:51:34 +00:00
|
|
|
"root": true,
|
|
|
|
|
2020-01-21 12:51:03 +00:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 5,
|
|
|
|
"sourceType": "script"
|
|
|
|
},
|
2016-11-02 23:51:34 +00:00
|
|
|
|
2020-01-21 12:51:03 +00:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": "jquery.js",
|
|
|
|
"extends": "../.eslintrc-browser.json",
|
2016-05-10 09:12:28 +00:00
|
|
|
|
2020-01-21 12:51:03 +00:00
|
|
|
"rules": {
|
|
|
|
// That is okay for the built version
|
|
|
|
"no-multiple-empty-lines": "off",
|
|
|
|
|
|
|
|
// Sizzle is not compatible with jQuery code style
|
|
|
|
"no-nested-ternary": "off",
|
|
|
|
"no-unused-expressions": "off",
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"lines-around-comment": "off",
|
|
|
|
"space-in-parens": "off",
|
|
|
|
"camelcase": "off",
|
|
|
|
"computed-property-spacing": "off",
|
|
|
|
"max-len": "off",
|
|
|
|
"dot-notation": "off",
|
|
|
|
"semi-spacing": "off",
|
|
|
|
"brace-style": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2016-05-10 09:12:28 +00:00
|
|
|
}
|