-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtslint.json
33 lines (33 loc) · 1.09 KB
/
tslint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"indent": [true, "spaces", 2],
"semicolon": [true, "never"],
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"typedef-whitespace": [
true,
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "nospace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
],
"one-line": [true, "check-open-brace"],
"no-console": [false],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-rest-spread", "check-type", "check-type-operator", "check-preblock"]
},
"rulesDirectory": []
}