-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtslint.json
More file actions
33 lines (33 loc) · 789 Bytes
/
tslint.json
File metadata and controls
33 lines (33 loc) · 789 Bytes
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
{
"extends": ["tslint:recommended"],
"rules": {
"indent": [true, "tabs", 4],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"typeLiterals": "always"
},
"esSpecCompliant": true
}
],
"no-console": [true, "log", "error"],
"only-arrow-functions": false,
"max-line-length": [true, 80],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"require-const-for-all-caps",
"allow-snake-case"
],
"no-unused-variable": [true, {"ignore-pattern": "^_"}],
"triple-equals": [true, "allow-undefined-check", "allow-null-check"],
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"semicolon": [true, "always"]
}
}