Skip to content

Commit 05417d7

Browse files
Fix tslint.json
1 parent 1544e85 commit 05417d7

File tree

1 file changed

+27
-11
lines changed

1 file changed

+27
-11
lines changed

tslint.json

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
11
{
2-
"extends": "tslint:latest",
3-
"rules": {
4-
"one-line": {
5-
"check-open-brace": false
6-
},
7-
"variable-name": {
8-
"check-format": {
9-
"allow-leading-underscore": true
10-
}
11-
}
12-
}
2+
"extends": "tslint:latest",
3+
"rules": {
4+
"max-line-length": [
5+
true,
6+
80
7+
],
8+
"one-line": [
9+
true,
10+
"check-catch",
11+
"check-finally",
12+
"check-else",
13+
"check-whitespace"
14+
],
15+
"trailing-comma": [
16+
true,
17+
{
18+
"multiline": "never",
19+
"singleline": "never"
20+
}
21+
],
22+
"variable-name": [
23+
true,
24+
"check-format",
25+
"allow-leading-underscore",
26+
"ban-keywords"
27+
]
28+
}
1329
}

0 commit comments

Comments
 (0)