mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SecureLinkFixer
synced 2024-11-24 15:43:39 +00:00
build: Updating npm dependencies
* grunt-eslint: 20.1.0 → 22.0.0 * eslint-config-wikimedia: 0.5.0 → 0.15.0 The following rules are failing and were disabled: * brace-style * camelcase * eqeqeq * max-len * max-statements-per-line * new-cap * no-constant-condition * no-dupe-keys * no-empty * no-implicit-globals * no-mixed-spaces-and-tabs * no-redeclare * no-tabs * no-undef * no-underscore-dangle * no-unused-vars * no-use-before-define * no-useless-concat * one-var * valid-jsdoc * vars-on-top Additional changes: * Added .eslintcache to .gitignore. * Removing manual reportUnusedDisableDirectives for eslint. Change-Id: I7cf9b60dbde7168ade24d2e8847617244d6a6ae1
This commit is contained in:
parent
0fb496e928
commit
0e1023e00a
|
@ -7,5 +7,28 @@
|
||||||
"globals": {
|
"globals": {
|
||||||
"mw": false,
|
"mw": false,
|
||||||
"$": false
|
"$": false
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"brace-style": "warn",
|
||||||
|
"camelcase": "warn",
|
||||||
|
"eqeqeq": "warn",
|
||||||
|
"max-len": "warn",
|
||||||
|
"max-statements-per-line": "warn",
|
||||||
|
"new-cap": "warn",
|
||||||
|
"no-constant-condition": "warn",
|
||||||
|
"no-dupe-keys": "warn",
|
||||||
|
"no-empty": "warn",
|
||||||
|
"no-implicit-globals": "warn",
|
||||||
|
"no-mixed-spaces-and-tabs": "warn",
|
||||||
|
"no-redeclare": "warn",
|
||||||
|
"no-tabs": "warn",
|
||||||
|
"no-undef": "warn",
|
||||||
|
"no-underscore-dangle": "warn",
|
||||||
|
"no-unused-vars": "warn",
|
||||||
|
"no-use-before-define": "warn",
|
||||||
|
"no-useless-concat": "warn",
|
||||||
|
"one-var": "warn",
|
||||||
|
"valid-jsdoc": "warn",
|
||||||
|
"vars-on-top": "warn"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,7 @@ module.exports = function ( grunt ) {
|
||||||
grunt.initConfig( {
|
grunt.initConfig( {
|
||||||
eslint: {
|
eslint: {
|
||||||
options: {
|
options: {
|
||||||
cache: true,
|
cache: true
|
||||||
reportUnusedDisableDirectives: true
|
|
||||||
},
|
},
|
||||||
all: [
|
all: [
|
||||||
'**/*.js',
|
'**/*.js',
|
||||||
|
|
942
package-lock.json
generated
942
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -4,10 +4,10 @@
|
||||||
"test": "grunt test"
|
"test": "grunt test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.5.0",
|
"eslint-config-wikimedia": "0.15.0",
|
||||||
"grunt": "1.0.4",
|
"grunt": "1.0.4",
|
||||||
"grunt-banana-checker": "0.8.1",
|
"grunt-banana-checker": "0.8.1",
|
||||||
"grunt-eslint": "20.1.0",
|
"grunt-eslint": "22.0.0",
|
||||||
"grunt-jsonlint": "1.1.0"
|
"grunt-jsonlint": "1.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue