mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-12 08:15:09 +00:00
5f781b7a9b
This replaces the jsduck implementation that we recently removed. Changes: * Document events on Document element. Bug: T337039 Change-Id: Iaa9f54c7838159a75a38eec0d49f203803aadee7
21 lines
417 B
JSON
21 lines
417 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia/client-es6",
|
|
"wikimedia/jquery",
|
|
"wikimedia/mediawiki"
|
|
],
|
|
"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"
|
|
}
|
|
}
|