mediawiki-extensions-Popups/.eslintrc.es5.json
Thiemo Kreuz 76e02fae98 Remove obsolete mediaWiki and jQuery aliases
Notice how this actually reduces the size of the final, compiled index.js.
It's not much, but still.

One issue I noticed is that the coverage reports for the JS code stopped
working. I have no idea why.

Bug: T208951
Change-Id: I2fe92579574b3b1ba4d2dd064899eee944045a96
2019-10-22 09:30:46 +02:00

61 lines
1.2 KiB
JSON

{
"parserOptions": {
"sourceType": "script",
"ecmaVersion": 5
},
"env": {
"browser": true,
"jquery": true,
"commonjs": false,
"qunit": true
},
"rules": {
"array-bracket-spacing": 0,
"block-spacing": 0,
"camelcase": 0,
"comma-spacing": 0,
"computed-property-spacing": 0,
"curly": 0,
"eol-last": 0,
"eqeqeq": 0,
"key-spacing": 0,
"keyword-spacing": 0,
"max-statements-per-line": 0,
"new-parens": 0,
"no-bitwise": 0,
"no-catch-shadow": 0,
"no-console": 0,
"no-fallthrough": 0,
"no-floating-decimal": 0,
"no-implicit-coercion": 0,
"no-jquery/no-class-state": 0,
"no-jquery/no-global-selector": 0,
"no-loop-func": 0,
"no-new-func": 0,
"no-prototype-builtins": 0,
"no-return-assign": 0,
"no-sequences": 0,
"no-undef": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-unused-vars": 0,
"no-var": 0,
"no-void": 0,
"object-curly-spacing": 0,
"one-var": 0,
"quote-props": 0,
"quotes": 0,
"semi": 0,
"semi-spacing": 0,
"space-before-blocks": 0,
"space-before-function-paren": 0,
"space-in-parens": 0,
"space-infix-ops": 0,
"spaced-comment": 0,
"switch-colon-spacing": 0,
"vars-on-top": 0,
"wrap-iife": 0,
"yoda": 0
}
}