mediawiki-extensions-Popups/.eslintrc.json
Jon Robson f9b9feaff5 ES6: Prefer Object.assign and Promise to jQuery
Additional change:
* Lint dist folder as ES6 code now ES6 is everywhere

Change-Id: Ie77046f5c6fbdafa4679dbaf97f7bf6f16292b9c
2023-04-19 17:02:14 -07:00

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"
}
}
}