diff --git a/.eslintrc.json b/.eslintrc.json index 1731361b..1f6cec42 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -13,6 +13,6 @@ }, "rules": { "max-len": "off", - "jquery/no-global-selector": "off" + "no-jquery/no-global-selector": "off" } } diff --git a/.gitignore b/.gitignore index 29645e09..62562989 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ composer.lock vendor node_modules/ +.eslintcache # Editors *.kate-swp diff --git a/Gruntfile.js b/Gruntfile.js index 59b4c3fe..ad15a5ca 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -9,7 +9,8 @@ module.exports = function ( grunt ) { grunt.initConfig( { eslint: { options: { - reportUnusedDisableDirectives: true + reportUnusedDisableDirectives: true, + cache: true }, all: [ '**/*.js', diff --git a/package.json b/package.json index 329ce476..b0ef98ec 100644 --- a/package.json +++ b/package.json @@ -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",