mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-27 17:20:12 +00:00
Merge "build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0"
This commit is contained in:
commit
c29322a95f
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@
|
|||
composer.lock
|
||||
vendor
|
||||
node_modules/
|
||||
.eslintcache
|
||||
|
|
|
@ -9,7 +9,8 @@ module.exports = function ( grunt ) {
|
|||
grunt.initConfig( {
|
||||
eslint: {
|
||||
options: {
|
||||
reportUnusedDisableDirectives: true
|
||||
reportUnusedDisableDirectives: true,
|
||||
cache: true
|
||||
},
|
||||
all: [
|
||||
'**/*.js',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$( function () {
|
||||
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' );
|
||||
|
||||
if ( location ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"test": "grunt test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.10.1",
|
||||
"eslint-config-wikimedia": "0.11.0",
|
||||
"grunt": "1.0.3",
|
||||
"grunt-banana-checker": "0.7.0",
|
||||
"grunt-eslint": "21.0.0",
|
||||
|
|
Loading…
Reference in a new issue