Skip to content

Commit a1d4c2f

Browse files
committed
fix(linter): tslint always exits nicely
This uses the `--force` flag of tslint to always exit the command in success, even if violations are detected. It changes the current behaviour where the command exits in error. See https://github.com/palantir/tslint#usage Fixes angular#967
1 parent 9de90e1 commit a1d4c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/ng2/blueprints/ng2/files/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": "ng serve",
88
"postinstall": "typings install",
9-
"lint": "tslint \"<%= sourceDir %>/**/*.ts\"",
9+
"lint": "tslint \"<%= sourceDir %>/**/*.ts\" --force",
1010
"test": "ng test",
1111
"pree2e": "webdriver-manager update",
1212
"e2e": "protractor"

0 commit comments

Comments
 (0)