mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
cbc8638c38
1. Use the short name of the preset in the config. 2. Run ESLint first on non-minified files. 3. Explicitly specify environments in every config file (those settings cascade which means we've been assuming a Node.js environment where we shouldn't have).
23 lines
490 B
JSON
23 lines
490 B
JSON
{
|
|
"root": true,
|
|
|
|
"extends": "../.eslintrc-browser.json",
|
|
|
|
"rules": {
|
|
// That is okay for the built version
|
|
"no-multiple-empty-lines": "off",
|
|
|
|
// Because sizze is not compatible to jquery code style
|
|
"no-nested-ternary": "off",
|
|
"no-unused-expressions": "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"
|
|
}
|
|
}
|