mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-23 15:36:52 +00:00
build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
Change-Id: I17a163c3dd6d708b05d41786dce3dc9881250969
This commit is contained in:
parent
5502e01c0b
commit
da89d77278
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@
|
||||||
composer.lock
|
composer.lock
|
||||||
vendor
|
vendor
|
||||||
node_modules/
|
node_modules/
|
||||||
|
.eslintcache
|
||||||
|
|
|
@ -9,7 +9,8 @@ module.exports = function ( grunt ) {
|
||||||
grunt.initConfig( {
|
grunt.initConfig( {
|
||||||
eslint: {
|
eslint: {
|
||||||
options: {
|
options: {
|
||||||
reportUnusedDisableDirectives: true
|
reportUnusedDisableDirectives: true,
|
||||||
|
cache: true
|
||||||
},
|
},
|
||||||
all: [
|
all: [
|
||||||
'**/*.js',
|
'**/*.js',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
$( function () {
|
$( function () {
|
||||||
var location = mw.config.get( 'wgLinterErrorLocation' ),
|
var location = mw.config.get( 'wgLinterErrorLocation' ),
|
||||||
// eslint-disable-next-line jquery/no-global-selector
|
// eslint-disable-next-line no-jquery/no-global-selector
|
||||||
$textbox = $( '#wpTextbox1' );
|
$textbox = $( '#wpTextbox1' );
|
||||||
|
|
||||||
if ( location ) {
|
if ( location ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"test": "grunt test"
|
"test": "grunt test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.10.1",
|
"eslint-config-wikimedia": "0.11.0",
|
||||||
"grunt": "1.0.3",
|
"grunt": "1.0.3",
|
||||||
"grunt-banana-checker": "0.7.0",
|
"grunt-banana-checker": "0.7.0",
|
||||||
"grunt-eslint": "21.0.0",
|
"grunt-eslint": "21.0.0",
|
||||||
|
|
Loading…
Reference in a new issue