build: Update linters

Change-Id: Ib6b6d6590d6f2c5158ddad6664bbfce5efc7ceb8
This commit is contained in:
Ed Sanders 2023-07-01 14:26:21 +01:00
parent 8af75aa6e5
commit e93b13a4f1
4 changed files with 278 additions and 286 deletions

View file

@ -1,7 +1,6 @@
{
"root": true,
"extends": [
"wikimedia",
"wikimedia/mediawiki"
"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-eslint' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
@ -10,7 +11,7 @@ module.exports = function ( grunt ) {
cache: true
},
all: [
'**/*.js{,on}',
'**/*.{js,json}',
'!{vendor,node_modules}/**'
]
},

550
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -7,9 +7,9 @@
"test": "grunt test"
},
"devDependencies": {
"eslint-config-wikimedia": "0.25.0",
"eslint-config-wikimedia": "0.25.1",
"grunt": "1.6.1",
"grunt-banana-checker": "0.11.0",
"grunt-eslint": "24.0.1"
"grunt-eslint": "24.2.0"
}
}