Browse Source

build: Update eslint-config-wikimedia to 0.16.2

Change-Id: Ieaa2864ee76cef15941c6843d15cfd7e77fbc817
downstream
Ed Sanders 2 years ago
parent
commit
9dba0e0329
  1. 9
      .eslintrc.json
  2. 4
      Gruntfile.js
  3. 674
      package-lock.json
  4. 4
      package.json
  5. 2
      resources/mobile.js

9
.eslintrc.json

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

4
Gruntfile.js

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

674
package-lock.json

File diff suppressed because it is too large

4
package.json

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

2
resources/mobile.js

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

Loading…
Cancel
Save