mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-27 08:40:13 +00:00
build: Update linters
Change-Id: Ib6b6d6590d6f2c5158ddad6664bbfce5efc7ceb8
This commit is contained in:
parent
8af75aa6e5
commit
e93b13a4f1
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"root": true,
|
||||
"extends": [
|
||||
"wikimedia",
|
||||
"wikimedia/mediawiki"
|
||||
"wikimedia/server"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -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
550
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue