mediawiki-extensions-Popups/.eslintrc.es5.json
jdlrobson 90fbd093c8 Run eslint on compiled assets to ensure code is es5 compatible
It doesn't feel great but it does the trick.

Bug: T174570
Change-Id: I76d1b81625a77df0d926c2da714bcab606a28b8d
2017-09-07 12:30:33 +02:00

50 lines
950 B
JSON

{
"parserOptions": {
"sourceType": "script",
"ecmaVersion": "5"
},
"env": {
"browser": true,
"jquery": true,
"commonjs": false,
"qunit": true
},
"rules": {
"spaced-comment": 0,
"space-in-parens": 0,
"block-spacing": 0,
"object-curly-spacing": 0,
"eol-last": 0,
"semi": 0,
"comma-spacing": 0,
"space-before-function-paren": 0,
"space-before-blocks": 0,
"space-infix-ops": 0,
"vars-on-top": 0,
"semi-spacing": 0,
"key-spacing": 0,
"quotes": 0,
"no-return-assign": 0,
"keyword-spacing": 0,
"eqeqeq": 0,
"yoda": 0,
"computed-property-spacing": 0,
"no-unused-expressions": 0,
"no-sequences": 0,
"array-bracket-spacing": 0,
"no-void": 0,
"no-unused-vars": 0,
"no-undef": 0,
"quote-props": 0,
"curly": 0,
"one-var": 0,
"no-console": 0,
"no-underscore-dangle": 0,
"wrap-iife": 0,
"new-parens": 0,
"no-fallthrough": 0,
"no-implicit-coercion": 0,
"no-catch-shadow": 0
}
}