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:
libraryupgrader 2021-01-27 17:51:33 +00:00
parent d5d007e1cf
commit f6ee327a78
4 changed files with 597 additions and 438 deletions

View file

@ -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: [

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -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",