Skip to content

Commit

Permalink
fix(IE): added plugins to make sure stuff works in IE<=10, bump depen…
Browse files Browse the repository at this point in the history
…dencies, fixed minor codetyle issues
  • Loading branch information
BowlingX committed Jun 15, 2016
1 parent 8f6a157 commit 6c26a10
Show file tree
Hide file tree
Showing 26 changed files with 12,800 additions and 9,256 deletions.
8 changes: 7 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"presets":["es2015"],
"plugins": ["transform-runtime"]
"plugins": [
"transform-runtime",
"transform-proto-to-assign",
["transform-es2015-classes", {
"loose": true
}]
]
}
23 changes: 18 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"rules": {
"indent": [
2,
4,
2,
{
"SwitchCase": 1
}
Expand All @@ -32,8 +32,17 @@
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"quotes": 0,
"no-param-reassign": [2, {"props": false}],
"max-len": [2, 120, 4],
"no-param-reassign": [
2,
{
"props": false
}
],
"max-len": [
2,
120,
4
],
"strict": [
2,
"global"
Expand All @@ -45,12 +54,16 @@
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": [1, "allow-in-func"],
"react/no-did-update-set-state": [
1,
"allow-in-func"
],
"react/no-multi-comp": 1,
"react/no-unknown-property": 1,
"react/prop-types": 1,
"react/react-in-jsx-scope": 1,
"react/self-closing-comp": 1,
"react/wrap-multilines": 1
"react/wrap-multilines": 1,
"import/no-unresolved": 0
}
}
Loading

0 comments on commit 6c26a10

Please sign in to comment.