build: Update eslint-config-wikimedia to 0.16.2

Change-Id: Ieaa2864ee76cef15941c6843d15cfd7e77fbc817
isekai
Ed Sanders 5 years ago
parent 5996fa453b
commit 9dba0e0329

@ -2,13 +2,10 @@
"root": true, "root": true,
"extends": [ "extends": [
"wikimedia/client", "wikimedia/client",
"wikimedia/jquery" "wikimedia/jquery",
"wikimedia/mediawiki"
], ],
"globals": {
"mw": false
},
"rules": { "rules": {
"no-jquery/no-global-selector": 0, "no-jquery/no-global-selector": "off"
"no-jquery/no-fade": 0
} }
} }

@ -8,8 +8,8 @@ module.exports = function ( grunt ) {
grunt.initConfig( { grunt.initConfig( {
eslint: { eslint: {
options: { options: {
extensions: [ '.js', '.json' ], cache: true,
cache: true fix: grunt.option( 'fix' )
}, },
all: [ all: [
'**/*.js{,on}', '**/*.js{,on}',

674
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -4,10 +4,10 @@
"test": "grunt test" "test": "grunt test"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-wikimedia": "0.15.3", "eslint-config-wikimedia": "0.16.2",
"grunt": "1.1.0", "grunt": "1.1.0",
"grunt-banana-checker": "0.9.0", "grunt-banana-checker": "0.9.0",
"grunt-eslint": "22.0.0", "grunt-eslint": "23.0.0",
"grunt-stylelint": "0.15.0", "grunt-stylelint": "0.15.0",
"grunt-svgmin": "5.0.0", "grunt-svgmin": "5.0.0",
"stylelint-config-wikimedia": "0.10.1" "stylelint-config-wikimedia": "0.10.1"

@ -1,5 +1,7 @@
/* Popout menus (header) */ /* Popout menus (header) */
/* eslint-disable no-jquery/no-fade */
$( function () { $( function () {
var toggleTime = 200; var toggleTime = 200;

Loading…
Cancel
Save