diff --git a/.gitignore b/.gitignore index 4489bce0..0071d7df 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ /node_modules/ /vendor/ /composer.lock +.eslintcache # Editors *.kate-swp diff --git a/Gruntfile.js b/Gruntfile.js index 30e84159..4360b801 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -15,6 +15,10 @@ module.exports = function ( grunt ) { grunt.initConfig( { banana: conf.MessagesDirs, eslint: { + options: { + reportUnusedDisableDirectives: true, + cache: true + }, all: [ '**/*.js', '!node_modules/**', diff --git a/package.json b/package.json index 52aff018..5e35ac66 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,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",