mediawiki-extensions-Popups/.eslintrc.es5.json
Nicholas Ray 63031429b8 Upgrade redux / redux-thunk
redux       | 3.6.0 | 4.0.1
redux-thunk | 2.2.0 | 2.3.0

Upgrading these two dependencies caused the build size to increase from
from 12.2 KB to 12.4 KB (gzip) and so the bundlesize was adjusted
accordingly in our package.json.

Additionally, our linters flagged two rules that were then turned off in
.eslintrc.es5.json.

Looks like the changes in Redux were mostly cosmetic with much work
dedicated to typescript definitiions and dropping support of private
imports [1].

The changes to redux-thunk only involved changing typescript typings and
should not affect us. [2]

The upgrade was tested locally and did not appear to break anything.

[1] https://github.com/reduxjs/redux/issues/1342#issue-130452197
[2] https://github.com/reduxjs/redux-thunk/releases/tag/v2.3.0

Bug: T209314
Change-Id: I35284793ca0c72914d9b9b2e7c28dd407bafd4d8
2018-12-13 15:04:03 -07:00

59 lines
1.1 KiB
JSON

{
"parserOptions": {
"sourceType": "script",
"ecmaVersion": "5"
},
"env": {
"browser": true,
"jquery": true,
"commonjs": false,
"qunit": true
},
"rules": {
"camelcase": 0,
"spaced-comment": 0,
"space-in-parens": 0,
"switch-colon-spacing": 0,
"no-prototype-builtins": 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,
"no-var": 0,
"prefer-template": 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,
"max-statements-per-line": 0,
"no-bitwise": 0,
"no-loop-func": 0,
"no-new-func": 0
}
}