mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-24 00:04:15 +00:00
build: Update linters
Change-Id: I7cdedec41a9960f8dce2bac3251d3d24e7999024
This commit is contained in:
parent
c21ef1461d
commit
29f8ba1162
|
@ -2,9 +2,7 @@
|
|||
"root": true,
|
||||
"extends": [
|
||||
"wikimedia/client",
|
||||
"wikimedia/jquery"
|
||||
],
|
||||
"globals": {
|
||||
"mw": false
|
||||
}
|
||||
"wikimedia/jquery",
|
||||
"wikimedia/mediawiki"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -7,12 +7,11 @@ module.exports = function ( grunt ) {
|
|||
grunt.initConfig( {
|
||||
eslint: {
|
||||
options: {
|
||||
reportUnusedDisableDirectives: true,
|
||||
extensions: [ '.js', '.json' ],
|
||||
cache: true
|
||||
},
|
||||
all: [
|
||||
'**/*.js{,on}',
|
||||
'**/*.{js,json}',
|
||||
'!{vendor,node_modules}/**'
|
||||
]
|
||||
},
|
||||
|
|
1059
package-lock.json
generated
1059
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -4,11 +4,11 @@
|
|||
"test": "grunt test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.12.0",
|
||||
"eslint-config-wikimedia": "0.15.0",
|
||||
"grunt": "1.0.4",
|
||||
"grunt-banana-checker": "0.7.0",
|
||||
"grunt-eslint": "21.0.0",
|
||||
"grunt-stylelint": "0.11.1",
|
||||
"stylelint-config-wikimedia": "0.6.0"
|
||||
"grunt-banana-checker": "0.8.1",
|
||||
"grunt-eslint": "22.0.0",
|
||||
"grunt-stylelint": "0.12.0",
|
||||
"stylelint-config-wikimedia": "0.7.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -99,6 +99,8 @@ mw.libs.ve.targetLoader.addPlugin( function () {
|
|||
setTimeout( onCaptchaLoad );
|
||||
break;
|
||||
}
|
||||
// Messages documented above
|
||||
// eslint-disable-next-line mediawiki/msg-doc
|
||||
$captchaParagraph.append( mw.message( msg ).parseDom(), '<br>', question );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue