-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtslint.json
42 lines (42 loc) · 982 Bytes
/
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
34
35
36
37
38
39
40
41
42
{
"extends": "tslint-config-airbnb",
"linterOptions": {
"exclude": ["node_modules/**", "*.json", "**/*.json"]
},
"rules": {
"one-variable-per-declaration": false,
"no-increment-decrement": false,
"brace-style": [
false,
"stroustrup",
{
"allowSingleLine": true
}
],
"trailing-comma": [
true,
{
"multiline": {
"objects": "ignore",
"arrays": "ignore",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"function-name": [
true,
{
"function-regex": "^[a-zA-Z$][\\w\\d]+$",
"method-regex": "^[a-z$][\\w\\d]+$",
"private-method-regex": "^[a-z$][\\w\\d]+$",
"protected-method-regex": "^[a-z$][\\w\\d]+$",
"static-method-regex": "^[a-z$][\\w\\d]+$"
}
],
"max-line-length": [true, 160],
"align": false,
"ter-arrow-parens": false
}
}