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:
libraryupgrader 2019-12-14 23:07:18 +00:00
parent aec46bda9f
commit e895a52546
4 changed files with 9 additions and 4 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@
composer.lock
vendor
node_modules/
/.eslintcache

View file

@ -8,6 +8,10 @@ module.exports = function ( grunt ) {
grunt.initConfig( {
eslint: {
options: {
cache: true,
reportUnusedDisableDirectives: true
},
all: [
'**/*.js',
'!node_modules/**',

6
package-lock.json generated
View file

@ -723,9 +723,9 @@
}
},
"grunt-banana-checker": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.6.0.tgz",
"integrity": "sha1-ZJpnd0AABJ4uwMSyrBSJFYZOsg8=",
"version": "0.8.1",
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.8.1.tgz",
"integrity": "sha512-fx3lqZZFL9EihNI4BpwNmcjsb5tCVfa/xWVXLT3fipSOrLr/BsWdAUTltscTx55/tSwSR8VbJOulI00e1WTtoA==",
"dev": true
},
"grunt-eslint": {

View file

@ -6,7 +6,7 @@
"devDependencies": {
"eslint-config-wikimedia": "0.5.0",
"grunt": "1.0.4",
"grunt-banana-checker": "0.6.0",
"grunt-banana-checker": "0.8.1",
"grunt-eslint": "20.1.0",
"grunt-jsonlint": "1.1.0"
}