mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-12-26 14:43:14 +00:00
build: Updating npm dependencies
* grunt: 1.1.0 → 1.4.0 * lodash: 4.17.19 → 4.17.21 * https://npmjs.com/advisories/1673 (CVE-2021-23337) Additional changes: * Consolidated .phpcs.xml encoding to "UTF-8" (T200956). * Dropped .php5 and .inc files from .phpcs.xml (T200956). * Added the "composer phan" command to conveniently run phan. * Removing manual extensions for eslint. Change-Id: Ib871d1e275f3b7263d33c5a8fe8722846d19832c
This commit is contained in:
parent
c84d59bd38
commit
2ebea0ce8f
|
@ -7,7 +7,7 @@
|
|||
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php,php5,inc" />
|
||||
<arg name="encoding" value="utf8" />
|
||||
<arg name="extensions" value="php" />
|
||||
<arg name="encoding" value="UTF-8" />
|
||||
<exclude-pattern>vendor</exclude-pattern>
|
||||
</ruleset>
|
||||
|
|
|
@ -8,7 +8,6 @@ module.exports = function ( grunt ) {
|
|||
grunt.initConfig( {
|
||||
eslint: {
|
||||
options: {
|
||||
extensions: [ '.js', '.json' ],
|
||||
cache: true
|
||||
},
|
||||
all: [
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"fix": [
|
||||
"minus-x fix .",
|
||||
"phpcbf"
|
||||
]
|
||||
],
|
||||
"phan": "phan -d . --long-progress-bar"
|
||||
}
|
||||
}
|
||||
|
|
854
package-lock.json
generated
854
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -5,7 +5,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.16.2",
|
||||
"grunt": "1.1.0",
|
||||
"grunt": "1.4.0",
|
||||
"grunt-banana-checker": "0.9.0",
|
||||
"grunt-eslint": "23.0.0"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue