Skip to content

Commit

Permalink
Merge pull request #82 from luqin/master
Browse files Browse the repository at this point in the history
add eslint
  • Loading branch information
AllenFang committed Oct 20, 2015
2 parents 9374fdb + b05f391 commit 2dbd8dd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "airbnb",
"globals": {
"__DEV__": true
},
"rules": {
"react/jsx-quotes": 0,
"jsx-quotes": [2, "prefer-double"]
}
}
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@
"devDependencies": {
"babel": "^5.1.10",
"babel-core": "^5.8.25",
"babel-eslint": "^4.1.1",
"babel-loader": "^5.3.2",
"babelify": "^5.0.4",
"browserify": "^9.0.3",
"css-loader": "^0.18.0",
"eslint": "1.4.3",
"eslint-config-airbnb": "0.1.0",
"eslint-plugin-react": "3.4.1",
"gulp": "^3.8.11",
"gulp-babel": "^4.0.1",
"gulp-concat-css": "^2.2.0",
Expand Down

0 comments on commit 2dbd8dd

Please sign in to comment.