mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-27 09:41:16 +00:00
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:
parent
84591b3505
commit
72135b1202
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -21,3 +21,4 @@ sftp-config.json
|
|||
|
||||
# NPM
|
||||
/node_modules
|
||||
/.eslintcache
|
||||
|
|
|
@ -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
11
package-lock.json
generated
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue