Skip to content

Commit

Permalink
working ESLint fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
clayallsopp committed Jan 25, 2016
1 parent 1c8d2b4 commit b5862dd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"sourceType": "module"
}
}
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: node_js
node_js:
- '4.1'
scripe: npm run testTravis
deploy:
provider: heroku
api_key:
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"main": "entrypoint.js",
"scripts": {
"test": "node test.js",
"lint": "eslint .",
"testTravis": "npm run lint && npm run test",
"start": "DEBUG=express:* nodemon entrypoint.js"
},
"author": "Clay Allsopp <[email protected]>",
Expand All @@ -30,6 +32,7 @@
"twit": "2.1.1"
},
"devDependencies": {
"eslint": "2.0.0-beta.2",
"glob": "6.0.2",
"nodemon": "1.8.1",
"sane": "1.2.0",
Expand Down

0 comments on commit b5862dd

Please sign in to comment.