mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-30 11:06:55 +00:00
build: Updating eslint-config-wikimedia to 0.18.0
Additional changes: * Added the "composer phan" command to conveniently run phan. * Removing manual extensions for eslint. Change-Id: I7eee67a7be3d74429f897dd165c268a8fd930b3a
This commit is contained in:
parent
d5d007e1cf
commit
f6ee327a78
|
@ -16,7 +16,6 @@ module.exports = function ( grunt ) {
|
||||||
banana: conf.MessagesDirs,
|
banana: conf.MessagesDirs,
|
||||||
eslint: {
|
eslint: {
|
||||||
options: {
|
options: {
|
||||||
extensions: [ '.js', '.json' ],
|
|
||||||
cache: true
|
cache: true
|
||||||
},
|
},
|
||||||
all: [
|
all: [
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
"parallel-lint . --exclude vendor --exclude node_modules",
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||||
"phpcs -p -s",
|
"phpcs -p -s",
|
||||||
"minus-x check ."
|
"minus-x check ."
|
||||||
]
|
],
|
||||||
|
"phan": "phan -d . --long-progress-bar"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1029
package-lock.json
generated
1029
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -4,7 +4,7 @@
|
||||||
"test": "grunt test"
|
"test": "grunt test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.17.0",
|
"eslint-config-wikimedia": "0.18.0",
|
||||||
"grunt": "1.3.0",
|
"grunt": "1.3.0",
|
||||||
"grunt-banana-checker": "0.9.0",
|
"grunt-banana-checker": "0.9.0",
|
||||||
"grunt-eslint": "23.0.0",
|
"grunt-eslint": "23.0.0",
|
||||||
|
|
Loading…
Reference in a new issue