Skip to content

Commit

Permalink
updated deps; migrate to babel 6; eslint fixes;
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Loginov committed Sep 14, 2016
1 parent 084b050 commit 6fee692
Show file tree
Hide file tree
Showing 12 changed files with 222 additions and 254 deletions.
14 changes: 14 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"presets": [
"react",
"es2015",
"stage-1"
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
}
6 changes: 2 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"no-else-return": 1,
"no-empty": 2,
"no-empty-character-class": 2,
"no-empty-label": 2,
"no-eq-null": 0,
"no-eval": 2,
"no-ex-assign": 2,
Expand Down Expand Up @@ -161,6 +160,7 @@
"handle-callback-err": 0,
"indent": [2, 2],
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"keyword-spacing": 2,
"max-depth": [0, 4],
"max-len": [0, 80, 4],
"max-nested-callbacks": [0, 2],
Expand All @@ -177,13 +177,11 @@
"semi": 2,
"semi-spacing": [2, {"before": false, "after": true}],
"sort-vars": 0,
"space-after-keywords": [2, "always"],
"space-before-blocks": [0, "always"],
"space-before-function-paren": [0, "always"],
"space-in-brackets": [0, "never"],
"space-in-parens": [0, "never"],
"space-infix-ops": 2,
"space-return-throw-case": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-line-comment": [0, "always"],
"strict": 2,
Expand All @@ -207,6 +205,6 @@
"react/prop-types": 1,
"react/react-in-jsx-scope": 2,
"react/self-closing-comp": 1,
"react/wrap-multilines": 2
"react/jsx-wrap-multilines": 2
}
}
Loading

0 comments on commit 6fee692

Please sign in to comment.