mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
4a7fc8544e
Node.js code is written more & more commonly in ES6+ so it doesn't make sense to enable it there. There are many violations in test code so it's disabled there as well. Closes gh-4615
28 lines
380 B
JSON
28 lines
380 B
JSON
{
|
|
"root": true,
|
|
|
|
"parserOptions": {
|
|
"ecmaVersion": 5,
|
|
"sourceType": "script"
|
|
},
|
|
|
|
"globals": {
|
|
"define": false,
|
|
"module": true,
|
|
"Symbol": false
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "jquery.js",
|
|
"extends": "../.eslintrc-browser.json",
|
|
|
|
"rules": {
|
|
// That is okay for the built version
|
|
"no-multiple-empty-lines": "off",
|
|
"one-var": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|