Skip to content

Commit

Permalink
fix: use stylist tslint formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 5, 2018
1 parent 103e006 commit 9542a1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generators/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ class App extends Generator {
this.pjson.scripts.posttest = 'yarn run lint'
// this.pjson.scripts.precommit = 'yarn run lint'
if (this.ts && this.mocha) {
this.pjson.scripts.lint = 'concurrently -p command "eslint ." "tsc -p test --noEmit" "tslint -p test"'
this.pjson.scripts.lint = 'concurrently -p command "eslint ." "tsc -p test --noEmit" "tslint -p test -t stylish"'
} else if (this.ts) {
this.pjson.scripts.lint = 'concurrently -p command "eslint ." "tsc -p . --noEmit" "tslint -p ."'
this.pjson.scripts.lint = 'concurrently -p command "eslint ." "tsc -p . --noEmit" "tslint -p . -t stylish"'
} else {
this.pjson.scripts.lint = 'eslint .'
}
Expand Down

0 comments on commit 9542a1f

Please sign in to comment.