mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-23 23:13:27 +00:00
build: Updating dependencies
composer: * mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0 * 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: Ia5e47e750485b1499c9a0899407e24bfdfddacd4
This commit is contained in:
parent
20743546ec
commit
b95f062426
|
@ -7,7 +7,6 @@ module.exports = function ( grunt ) {
|
|||
grunt.initConfig( {
|
||||
eslint: {
|
||||
options: {
|
||||
extensions: [ '.js', '.json' ],
|
||||
cache: true
|
||||
},
|
||||
all: [
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"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"
|
||||
},
|
||||
|
@ -15,6 +15,7 @@
|
|||
"parallel-lint . --exclude node_modules --exclude vendor",
|
||||
"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
|
@ -7,7 +7,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"
|
||||
|
|
|
@ -60,7 +60,7 @@ class GadgetTest extends MediaWikiUnitTestCase {
|
|||
$g = $this->create( '*foo [ResourceLoader]|foo.js|foo.css' );
|
||||
$this->assertEquals( 'foo', $g->getName() );
|
||||
$this->assertTrue( $g->supportsResourceLoader() );
|
||||
$this->assertSame( 0, count( $g->getLegacyScripts() ) );
|
||||
$this->assertCount( 0, $g->getLegacyScripts() );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue