Skip to content

Commit

Permalink
Fix linting & testing command - hardcodes src directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kamicut committed Jan 11, 2016
1 parent 8c76dec commit 411fe58
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/**
7 changes: 6 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
extends: "semistandard"
"extends": 'standard',
"rules": {
'semi': [2, 'always'],
'no-extra-semi': 2,
'semi-spacing': [2, { 'before': false, 'after': true }]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "app.js",
"scripts": {
"test": "npm run lint && tap test/*/*.test.js ",
"lint": "eslint ."
"lint": "eslint index.js src/*"
},
"author": "",
"license": "ISC",
Expand Down

0 comments on commit 411fe58

Please sign in to comment.