mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-24 00:05:50 +00:00
build: Update linters
Change-Id: I98cbfd20fd85cdf8bb8dc1276ebbc516992212c3
This commit is contained in:
parent
8eb55200fd
commit
1071a53446
|
@ -1,22 +1,12 @@
|
|||
{
|
||||
"root": true,
|
||||
"env": {
|
||||
"es6": true,
|
||||
"browser": true,
|
||||
"commonjs": true
|
||||
},
|
||||
"extends": [
|
||||
"wikimedia/client-es6",
|
||||
"wikimedia/jquery",
|
||||
"wikimedia/mediawiki"
|
||||
"wikimedia/server"
|
||||
],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 6
|
||||
},
|
||||
"rules": {
|
||||
"jsdoc/no-undefined-types": "off",
|
||||
"no-implicit-globals": "off",
|
||||
"max-len": "off",
|
||||
"compat/compat": "warn"
|
||||
"node/no-unsupported-features/node-builtins": [ "error", {
|
||||
"version": ">=14",
|
||||
"ignores": []
|
||||
} ]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
// For a detailed explanation regarding each configuration property, visit:
|
||||
// https://jestjs.io/docs/en/configuration.html
|
||||
module.exports = {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
const wikimediaTestingUtils = require( '@wikimedia/mw-node-qunit' );
|
||||
const fn = () => {};
|
||||
|
||||
|
|
1208
package-lock.json
generated
1208
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -22,10 +22,10 @@
|
|||
"@wdio/spec-reporter": "7.16.13",
|
||||
"@wikimedia/mw-node-qunit": "7.0.0",
|
||||
"@wikimedia/types-wikimedia": "0.3.4",
|
||||
"eslint-config-wikimedia": "0.25.0",
|
||||
"eslint-config-wikimedia": "0.25.1",
|
||||
"grunt-banana-checker": "0.11.0",
|
||||
"jest": "27.4.7",
|
||||
"stylelint-config-wikimedia": "0.15.0",
|
||||
"stylelint-config-wikimedia": "0.16.1",
|
||||
"typescript": "4.3.5",
|
||||
"wdio-mediawiki": "2.1.0"
|
||||
}
|
||||
|
|
17
resources/.eslintrc.json
Normal file
17
resources/.eslintrc.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"root": true,
|
||||
"env": {
|
||||
"browser": true,
|
||||
"commonjs": true
|
||||
},
|
||||
"extends": [
|
||||
"wikimedia/client-es6",
|
||||
"wikimedia/jquery",
|
||||
"wikimedia/mediawiki"
|
||||
],
|
||||
"rules": {
|
||||
"jsdoc/no-undefined-types": "off",
|
||||
"no-implicit-globals": "off",
|
||||
"max-len": "off"
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"root": true,
|
||||
"extends": [
|
||||
"../../.eslintrc.json"
|
||||
"../../resources/.eslintrc.json"
|
||||
],
|
||||
"env": {
|
||||
"jest": true
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"root": true,
|
||||
"extends": [
|
||||
"wikimedia/qunit",
|
||||
"../../.eslintrc.json"
|
||||
"../../resources/.eslintrc.json",
|
||||
"wikimedia/qunit"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue