mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 23:25:02 +00:00
Update eslint-config-wikimedia to 0.9.0
Change-Id: I4c7dcb1b3cd3d03e3ea3d1e17bfcf63f3b553e50
This commit is contained in:
parent
8d2a586c36
commit
5f7f535c28
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
"extends": "wikimedia",
|
||||
"env": {
|
||||
"browser": true
|
||||
},
|
||||
"extends": [
|
||||
"wikimedia/client",
|
||||
"wikimedia/jquery"
|
||||
],
|
||||
"globals": {
|
||||
"mw": true,
|
||||
"$": false,
|
||||
"OO": false
|
||||
},
|
||||
"rules": {
|
||||
|
|
9
modules/ve-math/tools/.eslintrc.json
Normal file
9
modules/ve-math/tools/.eslintrc.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"root": true,
|
||||
"extends": [
|
||||
"wikimedia/server"
|
||||
],
|
||||
"rules": {
|
||||
"max-len": 0
|
||||
}
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue