mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 00:03:56 +00:00
30fad6b8b8
* classes * arrow functions * const/let * string templates * Object.assign Bug: T337102 Change-Id: I757b9993a2feeed707fb4ad213944001498f3f6a
22 lines
439 B
JSON
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"
|
|
}
|
|
}
|