From 0eac1464c47e6d8224e0ee45b8ae2cabee0f13f5 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Wed, 3 Apr 2019 15:29:36 -0700 Subject: [PATCH] build: Upgrade eslint-config-wikimedia from 0.10.0 to 0.11.0 Change-Id: Ia1dc32374abf4756b2d2333aa087a28b6b282ebd --- .gitignore | 1 + Gruntfile.js | 4 ++++ modules/ext.math.js | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5e11d7bf5..26785ee78 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 673be01b2..fb98b1a8e 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 9426817dc..3517a7f1a 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 f9dfba271..f784d5973 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",