mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
cf84696fd1
Also, update support comments format to match format described in: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197 with the change from: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-448998379 (open-ended ranges end with `+`). Fixes gh-3950 Fixes gh-4299 Closes gh-4347
27 lines
494 B
JSON
27 lines
494 B
JSON
{
|
|
"root": true,
|
|
|
|
"extends": "jquery",
|
|
|
|
"parserOptions": {
|
|
"ecmaVersion": 5
|
|
},
|
|
|
|
// 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,
|
|
"define": true,
|
|
"module": true
|
|
},
|
|
|
|
"rules": {
|
|
"strict": ["error", "function"]
|
|
}
|
|
}
|