mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SecureLinkFixer
synced 2024-09-23 10:25:36 +00:00
build: Updating grunt-banana-checker to 0.8.1
Additional changes: * Enable eslint caching. * Enable eslint's reportUnusedDisableDirectives. Change-Id: I007cce04aff7e33ecda1a6bb7788766da91d1715
This commit is contained in:
parent
aec46bda9f
commit
e895a52546
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@
|
||||||
composer.lock
|
composer.lock
|
||||||
vendor
|
vendor
|
||||||
node_modules/
|
node_modules/
|
||||||
|
/.eslintcache
|
||||||
|
|
|
@ -8,6 +8,10 @@ module.exports = function ( grunt ) {
|
||||||
|
|
||||||
grunt.initConfig( {
|
grunt.initConfig( {
|
||||||
eslint: {
|
eslint: {
|
||||||
|
options: {
|
||||||
|
cache: true,
|
||||||
|
reportUnusedDisableDirectives: true
|
||||||
|
},
|
||||||
all: [
|
all: [
|
||||||
'**/*.js',
|
'**/*.js',
|
||||||
'!node_modules/**',
|
'!node_modules/**',
|
||||||
|
|
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -723,9 +723,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"grunt-banana-checker": {
|
"grunt-banana-checker": {
|
||||||
"version": "0.6.0",
|
"version": "0.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.8.1.tgz",
|
||||||
"integrity": "sha1-ZJpnd0AABJ4uwMSyrBSJFYZOsg8=",
|
"integrity": "sha512-fx3lqZZFL9EihNI4BpwNmcjsb5tCVfa/xWVXLT3fipSOrLr/BsWdAUTltscTx55/tSwSR8VbJOulI00e1WTtoA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"grunt-eslint": {
|
"grunt-eslint": {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.5.0",
|
"eslint-config-wikimedia": "0.5.0",
|
||||||
"grunt": "1.0.4",
|
"grunt": "1.0.4",
|
||||||
"grunt-banana-checker": "0.6.0",
|
"grunt-banana-checker": "0.8.1",
|
||||||
"grunt-eslint": "20.1.0",
|
"grunt-eslint": "20.1.0",
|
||||||
"grunt-jsonlint": "1.1.0"
|
"grunt-jsonlint": "1.1.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue