mediawiki-extensions-Cite/.eslintrc.json
libraryupgrader db249bae3d build: Updating grunt to 1.3.0
* https://npmjs.com/advisories/577 (CVE-2018-3721)
* https://npmjs.com/advisories/745
* https://npmjs.com/advisories/782 (CVE-2018-16487)
* https://npmjs.com/advisories/788
* https://npmjs.com/advisories/813
* https://npmjs.com/advisories/1065 (CVE-2019-10744)
* https://npmjs.com/advisories/1523 (CVE-2019-10744)

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".
* Committed package-lock.json (T179229) too.
* And updating CoC link to use Special:MyLanguage (T202047).
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
* Also sorted "composer fix" command to run phpcbf last.
* Added the "composer phan" command to conveniently run phan.
* Set `root: true` in .eslintrc.json (T206485).
* Enable eslint caching.

Change-Id: I9c9eaf6453beace4b177d0f4ebae6b1f1249c3ea
2021-01-01 02:06:08 +00:00

24 lines
281 B
JSON

{
"root": true,
"extends": "wikimedia",
"env": {
"browser": true,
"jquery": true,
"qunit": true
},
"globals": {
"ve": true,
"OO": false,
"mw": false,
"mediaWiki": false
},
"rules": {
"dot-notation": [
"error",
{
"allowKeywords": true
}
]
}
}