Skip to content

Commit 6c26a10

Browse files
committed
fix(IE): added plugins to make sure stuff works in IE<=10, bump dependencies, fixed minor codetyle issues
1 parent 8f6a157 commit 6c26a10

26 files changed

+12800
-9256
lines changed

.babelrc

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{
22
"presets":["es2015"],
3-
"plugins": ["transform-runtime"]
3+
"plugins": [
4+
"transform-runtime",
5+
"transform-proto-to-assign",
6+
["transform-es2015-classes", {
7+
"loose": true
8+
}]
9+
]
410
}

.eslintrc

+18-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"rules": {
2020
"indent": [
2121
2,
22-
4,
22+
2,
2323
{
2424
"SwitchCase": 1
2525
}
@@ -32,8 +32,17 @@
3232
"no-underscore-dangle": 0,
3333
"no-use-before-define": 0,
3434
"quotes": 0,
35-
"no-param-reassign": [2, {"props": false}],
36-
"max-len": [2, 120, 4],
35+
"no-param-reassign": [
36+
2,
37+
{
38+
"props": false
39+
}
40+
],
41+
"max-len": [
42+
2,
43+
120,
44+
4
45+
],
3746
"strict": [
3847
2,
3948
"global"
@@ -45,12 +54,16 @@
4554
"react/jsx-uses-react": 1,
4655
"react/jsx-uses-vars": 1,
4756
"react/no-did-mount-set-state": 1,
48-
"react/no-did-update-set-state": [1, "allow-in-func"],
57+
"react/no-did-update-set-state": [
58+
1,
59+
"allow-in-func"
60+
],
4961
"react/no-multi-comp": 1,
5062
"react/no-unknown-property": 1,
5163
"react/prop-types": 1,
5264
"react/react-in-jsx-scope": 1,
5365
"react/self-closing-comp": 1,
54-
"react/wrap-multilines": 1
66+
"react/wrap-multilines": 1,
67+
"import/no-unresolved": 0
5568
}
5669
}

0 commit comments

Comments
 (0)