From c0b73873e6e46184c02a49991b839a4ed7d3c59b Mon Sep 17 00:00:00 2001 From: Burak Tasci Date: Thu, 20 Dec 2018 13:56:24 +0300 Subject: [PATCH] feat(atr): update curly braces and grouped imports per ASG --- README.md | 9 +++------ tslint.json | 7 ++----- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e6548fd..29a12b0 100644 --- a/README.md +++ b/README.md @@ -371,7 +371,7 @@ them is allowed by TypeScript*). { "import-sources-order": "case-insensitive", "named-imports-order": "case-insensitive", - "grouped-imports": true + "grouped-imports": false } ] ``` @@ -664,12 +664,9 @@ blocks. ### Layout #### Curly braces -*Use* **curly braces** as needed. +*Always Use* **curly braces**. ```json -"curly": [ - true, - "as-needed" -] +"curly": true ``` #### Whitespace diff --git a/tslint.json b/tslint.json index 173c1d2..8f08379 100644 --- a/tslint.json +++ b/tslint.json @@ -88,7 +88,7 @@ { "import-sources-order": "case-insensitive", "named-imports-order": "case-insensitive", - "grouped-imports": true + "grouped-imports": false } ], "no-duplicate-imports": true, @@ -186,10 +186,7 @@ 2 ], "eofline": true, - "curly": [ - true, - "as-needed" - ], + "curly": true, "whitespace": [ true, "check-branch",