From ebf253d26abb3e3bc625be7326ca6899be0b3ae3 Mon Sep 17 00:00:00 2001 From: Patrick O'Carroll Date: Mon, 3 Sep 2018 12:46:25 +0200 Subject: [PATCH] added no-namespace and no-reference rules (#13116) --- tslint.json | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tslint.json b/tslint.json index f143435de3f..f14078ee3aa 100644 --- a/tslint.json +++ b/tslint.json @@ -38,6 +38,8 @@ "no-empty": false, "no-eval": true, "no-inferrable-types": true, + "no-namespace": [true, "allow-declarations"], + "no-reference": true, "no-shadowed-variable": false, "no-string-literal": false, "no-switch-case-fall-through": false, @@ -57,14 +59,7 @@ "variable-declaration": "nospace" } ], - "variable-name": [ - true, - "check-format", - "ban-keywords", - "allow-leading-underscore", - "allow-trailing-underscore", - "allow-pascal-case" - ], + "variable-name": [true, "ban-keywords"], "whitespace": [true, "check-branch", "check-decl", "check-type", "check-preblock"] } }