Skip to content

Commit 5ef2b47

Browse files
committed
Update tslint.json for latest versions of tslint
Enforces spaces and double quotes again, and enforces no space before the colon for type definitions.
1 parent 98d7474 commit 5ef2b47

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

tslint.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,31 @@
44
"comment-format": [true,
55
"check-space"
66
],
7-
"indent": true,
7+
"indent": [true,
8+
"spaces"
9+
],
810
"one-line": [true,
911
"check-open-brace"
1012
],
1113
"no-unreachable": true,
1214
"no-use-before-declare": true,
1315
"no-var-keyword": true,
14-
"quotemark": true,
16+
"quotemark": [true,
17+
"double"
18+
],
1519
"semicolon": true,
1620
"whitespace": [true,
1721
"check-branch",
1822
"check-operator",
1923
"check-separator",
2024
"check-type"
21-
]
25+
],
26+
"typedef-whitespace": [true, {
27+
"call-signature": "nospace",
28+
"index-signature": "nospace",
29+
"parameter": "nospace",
30+
"property-declaration": "nospace",
31+
"variable-declaration": "nospace"
32+
}]
2233
}
2334
}

0 commit comments

Comments
 (0)