From a1d4c2f0d2aeebe94f7529b8beb0affe431fc131 Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Wed, 1 Jun 2016 12:01:21 +0200 Subject: [PATCH] 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 #967 --- addon/ng2/blueprints/ng2/files/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/ng2/blueprints/ng2/files/package.json b/addon/ng2/blueprints/ng2/files/package.json index 8c9823b92cfb..11435a053ea5 100644 --- a/addon/ng2/blueprints/ng2/files/package.json +++ b/addon/ng2/blueprints/ng2/files/package.json @@ -6,7 +6,7 @@ "scripts": { "start": "ng serve", "postinstall": "typings install", - "lint": "tslint \"<%= sourceDir %>/**/*.ts\"", + "lint": "tslint \"<%= sourceDir %>/**/*.ts\" --force", "test": "ng test", "pree2e": "webdriver-manager update", "e2e": "protractor"