build: Update devDependencies

Change-Id: I0bbd117b2b3ebdfee8deb7ed38b409a561f570d5
This commit is contained in:
Ed Sanders 2022-03-17 22:55:02 +00:00
parent 00d9f42d5e
commit 4a44f8c2e5
6 changed files with 2392 additions and 4155 deletions

View file

@ -1,31 +1,6 @@
{
"root": true,
"env": {
"commonjs": true
},
"extends": [
"wikimedia/client-es5",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"rules": {
"max-len": "off",
"no-jquery/no-global-selector": "off",
"no-jquery/no-class-state": "off"
},
"settings": {
"jsdoc": {
"preferredTypes": {
"DiffPage": "DiffPage",
"Pointer": "Pointer",
"PointerLine": "PointerLine",
"PointerView": "PointerView",
"Revision": "Revision",
"RevisionList": "RevisionList",
"RevisionListView": "RevisionListView",
"Slider": "Slider",
"SliderView": "SliderView"
}
}
}
"wikimedia/server"
]
}

View file

@ -1,6 +1,7 @@
/* eslint-env node, es6 */
'use strict';
module.exports = function ( grunt ) {
var conf = grunt.file.readJSON( 'extension.json' );
const conf = grunt.file.readJSON( 'extension.json' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-eslint' );

31
modules/.eslintrc.json Normal file
View file

@ -0,0 +1,31 @@
{
"root": true,
"env": {
"commonjs": true
},
"extends": [
"wikimedia/client-es5",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"rules": {
"max-len": "off",
"no-jquery/no-global-selector": "off",
"no-jquery/no-class-state": "off"
},
"settings": {
"jsdoc": {
"preferredTypes": {
"DiffPage": "DiffPage",
"Pointer": "Pointer",
"PointerLine": "PointerLine",
"PointerView": "PointerView",
"Revision": "Revision",
"RevisionList": "RevisionList",
"RevisionListView": "RevisionListView",
"Slider": "Slider",
"SliderView": "SliderView"
}
}
}
}

6464
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -13,13 +13,13 @@
"@wdio/local-runner": "7.4.6",
"@wdio/mocha-framework": "7.13.2",
"@wdio/sync": "7.4.6",
"eslint-config-wikimedia": "0.20.0",
"grunt": "1.4.0",
"eslint-config-wikimedia": "0.22.1",
"grunt": "1.4.1",
"grunt-banana-checker": "0.9.0",
"grunt-eslint": "23.0.0",
"grunt-stylelint": "0.16.0",
"grunt-eslint": "24.0.0",
"grunt-stylelint": "0.17.0",
"mwbot": "1.0.10",
"stylelint-config-wikimedia": "0.11.1",
"stylelint-config-wikimedia": "0.12.2",
"svgo": "2.8.0",
"wdio-mediawiki": "1.1.1",
"webdriverio": "7.4.6"

View file

@ -1,5 +1,7 @@
{
"root": true,
"extends": [
"../../modules/.eslintrc.json",
"wikimedia/qunit"
]
}