Skip to content

Commit

Permalink
Merge pull request #59 from zerkms/ESLINT_AIRBNB
Browse files Browse the repository at this point in the history
Added eslint based on airbnb config
  • Loading branch information
tomkp committed Mar 31, 2016
2 parents 57311fc + 577941f commit 016bdc4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "airbnb",

"rules": {
"indent": [2, 4]
}
}
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
"chai": "^3.5.0",
"chai-spies": "^0.7.1",
"coveralls": "^2.11.9",
"eslint": "^2.5.3",
"eslint-config-airbnb": "^6.2.0",
"eslint-plugin-react": "^4.2.3",
"express": "^4.13.4",
"mochify": "^2.17.0",
"mochify-istanbul": "^2.4.1",
Expand All @@ -54,6 +57,7 @@
"test": "npm run compile && mochify -R spec",
"test:watch": "npm run compile:watch & mochify -R spec --watch",
"test:coverage": "node cover.js && cat lcov.info | coveralls && rm lcov.info",
"lint": "eslint src/",
"demo": "npm run compile && browserify demo/Example.js -d -t -o demo/bundle.js",
"demo:watch": "npm run compile:watch & watchify demo/Example.js -d -t -o demo/bundle.js",
"demo:publish": "npm run compile && browserify demo/Example.js -d -t -o demo/bundle.js && surge demo react-split-pane.surge.sh",
Expand Down

0 comments on commit 016bdc4

Please sign in to comment.