mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-02 19:06:13 +00:00
b900446572
Reintroduces IIFE closures in test files because variables were declared in the global namespace, and "const" now causes hard errors. Bug: T339323 Change-Id: I69e9d7a29591137f185f3e5ab02dea590ec4dff6
32 lines
603 B
JSON
32 lines
603 B
JSON
{
|
|
"root": true,
|
|
"env": {
|
|
"commonjs": true
|
|
},
|
|
"extends": [
|
|
"wikimedia/client-es6",
|
|
"wikimedia/jquery",
|
|
"wikimedia/mediawiki"
|
|
],
|
|
"rules": {
|
|
"max-len": "off",
|
|
"no-jquery/no-global-selector": "off",
|
|
"no-jquery/no-class-state": "off"
|
|
},
|
|
"settings": {
|
|
"jsdoc": {
|
|
"preferredTypes": {
|
|
"DiffPage": "DiffPage",
|
|
"Pointer": "Pointer",
|
|
"PointerLine": "PointerLine",
|
|
"PointerView": "PointerView",
|
|
"Revision": "Revision",
|
|
"RevisionList": "RevisionList",
|
|
"RevisionListView": "RevisionListView",
|
|
"Slider": "Slider",
|
|
"SliderView": "SliderView"
|
|
}
|
|
}
|
|
}
|
|
}
|