mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
f9b9feaff5
Additional change: * Lint dist folder as ES6 code now ES6 is everywhere Change-Id: Ie77046f5c6fbdafa4679dbaf97f7bf6f16292b9c
30 lines
492 B
JSON
30 lines
492 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia/common",
|
|
"wikimedia/language/es6",
|
|
"wikimedia/jquery",
|
|
"wikimedia/mediawiki"
|
|
],
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true
|
|
},
|
|
"rules": {
|
|
"compat/compat": "off",
|
|
"no-use-before-define": "off",
|
|
"jsdoc/no-undefined-types": "off",
|
|
"no-dupe-keys": "warn",
|
|
"yml/block-sequence": "warn",
|
|
"yml/plain-scalar": "warn"
|
|
},
|
|
"settings": {
|
|
"jsdoc": {
|
|
"mode": "typescript"
|
|
}
|
|
}
|
|
}
|