mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-12-01 02:46:24 +00:00
7b209c4f58
* grunt-banana-checker: 0.7.1 → 0.8.1 * eslint-config-wikimedia: 0.13.1 → 0.14.3 The following rules are failing and were disabled: * brace-style * camelcase * eqeqeq * max-len * max-statements-per-line * new-cap * no-alert * no-console * no-constant-condition * no-dupe-keys * no-empty * no-implicit-globals * no-jquery/no-global-selector * no-mixed-spaces-and-tabs * no-redeclare * no-tabs * no-undef * no-underscore-dangle * no-unused-vars * no-use-before-define * no-useless-concat * one-var * valid-jsdoc * vars-on-top Additional changes: * Added .eslintcache to .gitignore. Change-Id: Ia589740d8d63eb5d6c3f2add26539ab5f38ac039
38 lines
797 B
JSON
38 lines
797 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia/client",
|
|
"wikimedia/jquery"
|
|
],
|
|
"globals": {
|
|
"OO": false,
|
|
"mw": false
|
|
},
|
|
"rules": {
|
|
"brace-style": "warn",
|
|
"camelcase": "warn",
|
|
"eqeqeq": "warn",
|
|
"max-len": "warn",
|
|
"max-statements-per-line": "warn",
|
|
"new-cap": "warn",
|
|
"no-alert": "warn",
|
|
"no-console": "warn",
|
|
"no-constant-condition": "warn",
|
|
"no-dupe-keys": "warn",
|
|
"no-empty": "warn",
|
|
"no-implicit-globals": "warn",
|
|
"no-jquery/no-global-selector": "warn",
|
|
"no-mixed-spaces-and-tabs": "warn",
|
|
"no-redeclare": "warn",
|
|
"no-tabs": "warn",
|
|
"no-undef": "warn",
|
|
"no-underscore-dangle": "warn",
|
|
"no-unused-vars": "warn",
|
|
"no-use-before-define": "warn",
|
|
"no-useless-concat": "warn",
|
|
"one-var": "warn",
|
|
"valid-jsdoc": "warn",
|
|
"vars-on-top": "warn"
|
|
}
|
|
}
|