Update eslint-config-wikimedia to 0.9.0

Change-Id: I4c7dcb1b3cd3d03e3ea3d1e17bfcf63f3b553e50
This commit is contained in:
Ed Sanders 2018-11-27 19:12:19 +00:00 committed by Physikerwelt
parent 8d2a586c36
commit 5f7f535c28
5 changed files with 21 additions and 13 deletions

View file

@ -1,11 +1,10 @@
{
"extends": "wikimedia",
"env": {
"browser": true
},
"extends": [
"wikimedia/client",
"wikimedia/jquery"
],
"globals": {
"mw": true,
"$": false,
"OO": false
},
"rules": {

View file

@ -0,0 +1,9 @@
{
"root": true,
"extends": [
"wikimedia/server"
],
"rules": {
"max-len": 0
}
}

View file

@ -1,6 +1,5 @@
#!/usr/bin/env node
/* eslint-env node */
/* eslint-disable no-console, no-use-before-define */
( function () {
@ -41,7 +40,7 @@
* The reverse of function would look like this, although we have no use for it yet:
*
* return className.replace( /_([0-9]+)_/g, function () {
* return String.fromCharCode( +arguments[ 1 ] );
* return String.fromCharCode( +arguments[ 1 ] );
* } );
*
* @param {string} tex TeX input

View file

@ -6,7 +6,7 @@
"selenium-test": "wdio tests/selenium/wdio.conf.js"
},
"devDependencies": {
"eslint-config-wikimedia": "0.8.1",
"eslint-config-wikimedia": "0.9.0",
"grunt": "1.0.3",
"grunt-banana-checker": "0.6.0",
"grunt-contrib-watch": "1.1.0",

View file

@ -1,14 +1,15 @@
{
"root": true,
"extends": [
"wikimedia/server"
],
"env": {
"es6": true,
"mocha": true,
"node": true,
"browser": false
"mocha": true
},
"globals": {
"browser": false
},
"rules":{
"rules": {
"no-console": 0
}
}