Skip to content

Commit

Permalink
Add babelrc and eslintrc; ready for repo revamp
Browse files Browse the repository at this point in the history
Component code logic won't change much; just some syntactic sugar with
babel + new repo structure for easier testing and building.
  • Loading branch information
chenglou committed Jul 31, 2015
1 parent 64b3ae7 commit a3620b9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
@@ -0,0 +1,3 @@
{
"stage": 0
}
22 changes: 22 additions & 0 deletions .eslintrc
@@ -0,0 +1,22 @@
{
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"rules": {
"comma-dangle": [2, "always-multiline"],
"quotes": [2, "single"],
"strict": [2, "never"],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2
},
"plugins": [
"react"
]
}

0 comments on commit a3620b9

Please sign in to comment.