mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-27 16:30:24 +00:00
build: Updating dependencies
composer: * mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0 The following sniffs are failing and were disabled: * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate * mediawiki/minus-x: 1.1.0 → 1.1.1 npm: * eslint-config-wikimedia: 0.17.0 → 0.18.1 Additional changes: * Added the "composer phan" command to conveniently run phan. * Removing manual extensions for eslint. Change-Id: Ic7a566390bc30fe23e91134ac6de03625045bb11
This commit is contained in:
parent
6e38f8ea15
commit
6ecb7084f0
|
@ -1,6 +1,8 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php" />
|
||||
<arg name="encoding" value="UTF-8" />
|
||||
|
|
|
@ -9,7 +9,6 @@ module.exports = function ( grunt ) {
|
|||
banana: conf.MessagesDirs,
|
||||
eslint: {
|
||||
options: {
|
||||
extensions: [ '.js', '.json' ],
|
||||
cache: true
|
||||
},
|
||||
all: [
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
"type": "mediawiki-extension",
|
||||
"description": "MediaWiki extension to notify users if someone tries to login to their account",
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "34.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "35.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.10.6",
|
||||
"mediawiki/minus-x": "1.1.0",
|
||||
"mediawiki/minus-x": "1.1.1",
|
||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
||||
},
|
||||
|
@ -20,6 +20,7 @@
|
|||
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||
"phpcs -p -s",
|
||||
"minus-x check ."
|
||||
]
|
||||
],
|
||||
"phan": "phan -d . --long-progress-bar"
|
||||
}
|
||||
}
|
||||
|
|
1085
package-lock.json
generated
1085
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -4,7 +4,7 @@
|
|||
"test": "grunt test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.17.0",
|
||||
"eslint-config-wikimedia": "0.18.1",
|
||||
"grunt": "1.3.0",
|
||||
"grunt-banana-checker": "0.9.0",
|
||||
"grunt-eslint": "23.0.0"
|
||||
|
|
Loading…
Reference in a new issue