Skip to content

Commit

Permalink
chord: add eslint with airbnb style
Browse files Browse the repository at this point in the history
  • Loading branch information
yinxin630 committed Aug 30, 2016
1 parent a14d136 commit a112f3e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "airbnb",
"installedESLint": true,
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules": {
"indent": ["error", 4]
}
}
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
"babel-preset-stage-0": "^6.5.0",
"chokidar": "^1.6.0",
"css-loader": "^0.23.1",
"eslint": "^3.4.0",
"eslint-config-airbnb": "^10.0.1",
"eslint-plugin-import": "^1.14.0",
"eslint-plugin-jsx-a11y": "^2.2.0",
"eslint-plugin-react": "^6.2.0",
"node-sass": "^3.8.0",
"postcss-loader": "^0.9.1",
"resolve-url-loader": "^1.6.0",
Expand Down

0 comments on commit a112f3e

Please sign in to comment.