From d1dcbd80fefc3ef3f75081aa70401d1c170d7571 Mon Sep 17 00:00:00 2001 From: Oleg Kiriljuk Date: Mon, 18 Sep 2017 00:42:30 +0200 Subject: [PATCH] configure TSLint to use tslint-eslint-rules --- tslint.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tslint.json b/tslint.json index 1280e790d..c42802acf 100644 --- a/tslint.json +++ b/tslint.json @@ -3,6 +3,9 @@ "node_modules/vrsource-tslint-rules/rules", "node_modules/tslint-eslint-rules/dist/rules" ], + "extends": [ + "tslint-eslint-rules" + ], "rules": { "no-console": [true, "log"], "no-duplicate-imports": true, @@ -11,6 +14,7 @@ "no-var-keyword": true, "semicolon": [true], "variable-name": [true, "ban-keywords"], - "no-inner-declarations": [true, "function"] + "no-inner-declarations": [true, "function"], + "no-constant-condition": true } }