Skip to content

Commit

Permalink
run lint in builds too
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiosantoscode committed Nov 13, 2018
1 parent 1f453f6 commit 1c8074e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -9,3 +9,5 @@ node_js:
cache:
directories:
- node_modules
before_script:
npm run lint
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"prepare": "tsc --declaration",
"test": "npm run prepare --silent && istanbul cover ./node_modules/.bin/_mocha && coveralls < coverage/lcov.info",
"lint": "tslint 'src/**/*.ts'",
"precommit": "npm run test --silent"
"precommit": "npm run lint --silent && npm run test --silent"
},
"files": [
"lib"
Expand Down

0 comments on commit 1c8074e

Please sign in to comment.