diff --git a/.gitignore b/.gitignore index 5e11d7b..26785ee 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ project.index ## Sublime sublime-* sftp-config.json +.eslintcache diff --git a/Gruntfile.js b/Gruntfile.js index 673be01..fb98b1a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -33,6 +33,10 @@ module.exports = function ( grunt ) { tasks: 'test' }, eslint: { + options: { + reportUnusedDisableDirectives: true, + cache: true + }, all: [ '**/*.js', '!**/node_modules/**', diff --git a/modules/ext.math.js b/modules/ext.math.js index 9426817..3517a7f 100644 --- a/modules/ext.math.js +++ b/modules/ext.math.js @@ -1,4 +1,4 @@ -/* eslint-disable jquery/no-global-selector */ +/* eslint-disable no-jquery/no-global-selector */ ( function () { 'use strict'; diff --git a/package.json b/package.json index f9dfba2..f784d59 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "selenium-test": "wdio tests/selenium/wdio.conf.js" }, "devDependencies": { - "eslint-config-wikimedia": "0.10.0", + "eslint-config-wikimedia": "0.11.0", "grunt": "1.0.3", "grunt-banana-checker": "0.6.0", "grunt-contrib-watch": "1.1.0",