mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 07:34:11 +00:00
4ca333e577
...with the wikimedia presets. For automatically fixing most of the JS lint problems run grunt eslint:fix Some rules of stylelint were disabled given they cause problems with existing popups code (like no id selectors for example). Change-Id: I2153047c3ddbea50572dd329989088bb20787515
20 lines
311 B
JSON
20 lines
311 B
JSON
{
|
|
"extends": "wikimedia",
|
|
"env": {
|
|
"browser": true,
|
|
"jquery": true,
|
|
"qunit": true
|
|
},
|
|
"globals": {
|
|
"mediaWiki": false,
|
|
"OO": false,
|
|
"moment": false,
|
|
"Redux": false,
|
|
"ReduxThunk": false
|
|
},
|
|
"rules": {
|
|
"dot-notation": [ "error", { "allowKeywords": true } ],
|
|
"no-use-before-define": 0
|
|
}
|
|
}
|