mediawiki-extensions-Multim.../resources/.eslintrc.json
Simon Legner 30fad6b8b8 Use ES6 features
* classes
* arrow functions
* const/let
* string templates
* Object.assign

Bug: T337102
Change-Id: I757b9993a2feeed707fb4ad213944001498f3f6a
2023-06-12 16:45:08 +00:00

22 lines
439 B
JSON

{
"root": true,
"extends": [
"wikimedia/client-es6",
"wikimedia/jquery",
"wikimedia/mediawiki",
"wikimedia/jsduck"
],
"rules": {
"prefer-arrow-callback": "warn",
"prefer-template": "warn",
"one-var": [ "warn", "never" ],
"max-len": "off",
"max-statements-per-line": "off",
"no-jquery/no-class-state": "off",
"no-jquery/no-support": "off",
"no-shadow": "warn",
"compat/compat": "warn",
"no-var": "warn"
}
}