build: Updating eslint-config-wikimedia to 0.19.0

The following rules are failing and were disabled:
* compat/compat

Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I12c1a88cef8e2c95bed496628d2fe74d031f8278
This commit is contained in:
libraryupgrader 2021-03-15 04:56:29 +00:00
parent 02c2268716
commit f01df6f803
5 changed files with 638 additions and 262 deletions

View File

@ -1,7 +1,7 @@
{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/client-es5",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
@ -11,6 +11,7 @@
"off",
"ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+."
],
"no-implicit-globals": "off"
"no-implicit-globals": "off",
"compat/compat": "warn"
}
}

875
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@
"@types/node-fetch": "2.5.7",
"babel-loader": "8.0.6",
"bundlesize": "0.18.1",
"eslint-config-wikimedia": "0.17.0",
"eslint-config-wikimedia": "0.19.0",
"grunt-banana-checker": "0.9.0",
"jsdoc": "3.6.3",
"jsdoc-wmf-theme": "0.0.3",

View File

@ -1,9 +1,9 @@
{
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"es6": true,
"node": true
}
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"es6": true,
"node": true
}
}

View File

@ -1,5 +1,5 @@
{
"exclude": ["docs", "vendor"],
"exclude": [ "docs", "vendor" ],
"compilerOptions": {
"resolveJsonModule": true,
"esModuleInterop": true,
@ -11,7 +11,7 @@
"forceConsistentCasingInFileNames": true,
"pretty": true,
"target": "es5",
"lib": ["dom"],
"lib": [ "dom" ],
"allowJs": true,
"checkJs": true,
"noEmit": true