build: Updating eslint-utils to 1.4.2

* https://npmjs.com/advisories/1118

Additional changes:
* Enable eslint caching.
* Enable eslint's reportUnusedDisableDirectives.

Change-Id: Id9175e29c906b3e40cbd58e13ab148bd72bcca66
This commit is contained in:
libraryupgrader 2019-08-23 06:34:50 +00:00
parent 84591b3505
commit 72135b1202
3 changed files with 12 additions and 4 deletions

1
.gitignore vendored
View file

@ -21,3 +21,4 @@ sftp-config.json
# NPM
/node_modules
/.eslintcache

View file

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

11
package-lock.json generated
View file

@ -370,10 +370,13 @@
}
},
"eslint-utils": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.3.1.tgz",
"integrity": "sha512-Z7YjnIldX+2XMcjr7ZkgEsOj/bREONV60qYeB/bjMAqqqZ4zxKyWX+BOUkdmRmA9riiIPVvo5x86m5elviOk0Q==",
"dev": true
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz",
"integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==",
"dev": true,
"requires": {
"eslint-visitor-keys": "^1.0.0"
}
},
"eslint-visitor-keys": {
"version": "1.0.0",