Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed Mar 19, 2017
1 parent cb5e084 commit d7d4819
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -10,7 +10,9 @@ node_js:
before_install:
# https://github.com/npm/npm/issues/11283
- npm set progress=false
after_success: npm run coveralls
after_success:
- npm run lint
- npm run coveralls
env:
global:
# COVERALLS_REPO_TOKEN=
Expand Down
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -9,6 +9,7 @@
],
"scripts": {
"clean": "rm -rf coverage",
"lint": "node_modules/.bin/jscs --config=.jscsrc --reporter=inline index.js lib examples",
"test": "mocha --recursive --colors --reporter spec",
"cover": "npm run clean && istanbul cover ./node_modules/mocha/bin/_mocha -- --recursive",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --recursive --reporter spec && istanbul-coveralls && npm run clean"
Expand Down Expand Up @@ -46,6 +47,7 @@
"express": "^4.14.0",
"istanbul": "^0.4.5",
"istanbul-coveralls": "^1.0.3",
"jscs": "^3.0.7",
"mocha": "^3.2.0",
"mocha-lcov-reporter": "1.2.0",
"opn": "^4.0.2",
Expand Down

0 comments on commit d7d4819

Please sign in to comment.