From e052d1df7b01923394f8f68f6546f0bb1b127ce0 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Mon, 9 Apr 2018 19:13:39 -0400 Subject: [PATCH] Use generic array syntax for consistency Always prefer `Array` over `T[]` for primitive types only. --- tslint.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tslint.json b/tslint.json index a8a569505..72eee0973 100644 --- a/tslint.json +++ b/tslint.json @@ -6,6 +6,7 @@ ], "jsRules": {}, "rules": { + "array-type": [true, "generic"], "quotemark": [true, "single", "jsx-double", "avoid-template", "avoid-escape"], "no-consecutive-blank-lines": [true, 2], "interface-name": [true, "never-prefix"]