From 3516e404fa81e6bf292293fdbd75e99d6f489150 Mon Sep 17 00:00:00 2001 From: ESadouski Date: Fri, 18 Nov 2016 18:28:07 +0300 Subject: [PATCH] fix(tslint): fix #248 disable one-line rule and add property force to lint command (#439) --- package.json | 2 +- tslint.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 12540efc..31f59a95 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "server:prod": "http-server dist --cors", "webdriver:update": "npm run webdriver-manager update", "webdriver:start": "npm run webdriver-manager start", - "lint": "npm run tslint \"src/**/*.ts\"", + "lint": "npm run tslint \"src/**/*.ts\" --force", "pree2e": "npm run webdriver:update -- --standalone", "pretest": "npm run lint", "docs": "npm run typedoc -- --options typedoc.json --exclude '**/*.spec.ts' ./src/", diff --git a/tslint.json b/tslint.json index aa3fa3b9..05323997 100644 --- a/tslint.json +++ b/tslint.json @@ -99,7 +99,7 @@ "jsdoc-format": true, "no-consecutive-blank-lines": false, "one-line": [ - true, + false, "check-open-brace", "check-catch", "check-else",