Add no else return tslint rule

This commit is contained in:
Daniel Imms
2018-04-23 11:52:42 -07:00
parent a3ce881897
commit 9e863d0377
4 changed files with 18 additions and 14 deletions
+8 -1
View File
@@ -1,4 +1,7 @@
{
"rulesDirectory": [
"tslint-consistent-codestyle"
],
"rules": {
"array-type": [
true,
@@ -86,6 +89,10 @@
"check-type",
"check-type-operator",
"check-preblock"
]
],
"no-else-after-return": {
"options": "allow-else-if"
}
}
}