mediawiki-extensions-SpamBl.../.eslintrc.json
libraryupgrader e39c731368 build: Updating npm dependencies
* eslint-config-wikimedia: 0.12.0 → 0.15.0
  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

* grunt-eslint: 21.0.0 → 22.0.0

Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: If910b266ebd5d3aa1e485c6740b672eb44f82345
2020-01-08 06:54:14 +00:00

38 lines
797 B
JSON

{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/jquery"
],
"globals": {
"mw": false,
"OO": 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"
}
}