Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Commit

Permalink
feat(atr): update curly braces and grouped imports per ASG
Browse files Browse the repository at this point in the history
  • Loading branch information
Burak Tasci committed Dec 20, 2018
1 parent 9dff3bb commit c0b7387
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
```
Expand Down Expand Up @@ -664,12 +664,9 @@ blocks.

### <a name="layout"></a> Layout
#### <a name="curly-braces"></a> Curly braces
*Use* **curly braces** as needed.
*Always Use* **curly braces**.
```json
"curly": [
true,
"as-needed"
]
"curly": true
```

#### <a name="whitespace"></a> Whitespace
Expand Down
7 changes: 2 additions & 5 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
{
"import-sources-order": "case-insensitive",
"named-imports-order": "case-insensitive",
"grouped-imports": true
"grouped-imports": false
}
],
"no-duplicate-imports": true,
Expand Down Expand Up @@ -186,10 +186,7 @@
2
],
"eofline": true,
"curly": [
true,
"as-needed"
],
"curly": true,
"whitespace": [
true,
"check-branch",
Expand Down

0 comments on commit c0b7387

Please sign in to comment.