Skip to content

Commit

Permalink
Add tslint-fix option to automatically fix the tslint issues
Browse files Browse the repository at this point in the history
Change-Id: I1fc854c946104586891f2c2d92fcb97229953b69
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
  • Loading branch information
benoitf committed Mar 28, 2019
1 parent 5672295 commit c5e4a46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"scripts": {
"postpack": "rm -f oclif.manifest.json",
"posttest": "tslint -p test -t stylish",
"tslint-fix": "tslint --fix -p test -t stylish",
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
"test": "jest",
"test-watch": "jest --watchAll",
Expand Down

0 comments on commit c5e4a46

Please sign in to comment.