Skip to content

Commit

Permalink
Add eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardograca committed Jan 4, 2018
1 parent aa36ff7 commit 7cd8434
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,12 @@
{
"env": {
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": ["error", 2, {"SwitchCase": 1}],
"linebreak-style": ["error", "unix"],
"max-len": ["error", {"code": 120}],
"quotes": ["error", "single"]
}
}
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -29,6 +29,7 @@
},
"dependencies": {
"catharsis": "^0.8.7",
"eslint": "^4.14.0",
"lodash": "^3.10.0",
"moment": "^2.10.6",
"taffydb": "https://github.com/hegemonic/taffydb/tarball/7d100bcee0e997ee4977e273cdce60bd8933050e"
Expand Down

0 comments on commit 7cd8434

Please sign in to comment.