-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathtslint.json
More file actions
37 lines (37 loc) · 922 Bytes
/
tslint.json
File metadata and controls
37 lines (37 loc) · 922 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
34
35
36
37
{
"extends": ["tslint-config-airbnb", "tslint-config-prettier"],
"rules": {
"strict-boolean-expressions": false,
"array-type": [true, "generic"],
"prefer-array-literal": false,
"arrow-return-shorthand": true,
"ban-types": [
true,
["{}", "Use custom type instead."],
["Object", "Use custom type instead."],
["String", "Use 'string' instead."],
["Number", "Use 'number' instead."],
["Boolean", "Use 'boolean' instead."]
],
"class-name": true,
"no-any": false,
"no-string-throw": true,
"no-unused-expression": true,
"no-unused-variable": false,
"prefer-const": true,
"radix": true,
"import-name": false,
"variable-name": [
true,
"check-format",
"ban-keywords",
"allow-leading-underscore",
"allow-trailing-underscore"
]
},
"linterOptions": {
"exclude": [
"template"
]
}
}