From 9c759ea96701ffa6623c88b21d7b82ce809f8722 Mon Sep 17 00:00:00 2001 From: Rafael Date: Fri, 21 Jul 2017 21:52:10 -0300 Subject: [PATCH] build: add 'prefer-const' tslint rule --- tslint.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tslint.json b/tslint.json index 2c9ee2c55180..910d9a5a73e4 100644 --- a/tslint.json +++ b/tslint.json @@ -80,6 +80,7 @@ "import-blacklist": [true, "rxjs"], // Avoids inconsistent linebreak styles in source files. Forces developers to use LF linebreaks. "linebreak-style": [true, "LF"], - "require-license-banner": true + "require-license-banner": true, + "prefer-const": true } }