From 1a01e444f9629c8a90f681ebaece85a0b8c38ffa Mon Sep 17 00:00:00 2001 From: Martin Jesper Low Madsen Date: Sun, 10 Nov 2019 20:51:38 +0100 Subject: [PATCH] Sort tslint rules and allow namespace declarations --- tslint.json | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/tslint.json b/tslint.json index f8d1179..abfcf87 100644 --- a/tslint.json +++ b/tslint.json @@ -3,21 +3,25 @@ "tslint:recommended" ], "rules": { - "trailing-comma": false, "array-type": false, + "arrow-parens": false, + // blizzard named their object like C_BlackMarket. In order to support that, class-name must be false + "class-name":false, "interface-name": false, - "object-literal-sort-keys": false, + "interface-over-type-literal": false, "max-line-length": [ true, 160 ], - "radix": false, "no-empty-interface": false, - "arrow-parens": false, - "interface-over-type-literal": false, + "no-namespace": [ + true, + "allow-declarations" + ], // This is a declaration only repository, references are ok! "no-reference": false, - // blizzard named their object like C_BlackMarket. In order to support that, class-name must be false - "class-name":false + "object-literal-sort-keys": false, + "radix": false, + "trailing-comma": false } -} \ No newline at end of file +}