-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
68 lines (68 loc) · 1.62 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"extends": [
"tslint-config-airbnb"
],
"defaultSeverity": "error",
"rules": {
"indent": [
true,
"spaces",
4
],
"ter-indent": [
true,
4,
{
"SwitchCase": 1
}
],
"ter-arrow-parens": [
true,
"as-needed"
],
"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]+$"
}
],
"variable-name": [
true,
"allow-pascal-case",
"allow-leading-underscore"
],
"brace-style": [
true,
"allowSingleLine",
"ignore-same-line"
],
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"max-line-length": [
true,
156
],
"prefer-array-literal": false,
"quotemark": [
true,
"double"
],
"no-var-keyword": true,
"no-parameter-reassignment": false,
"no-unused-variable": true,
"no-default-import": false,
"import-name": false,
"object-shorthand-properties-first": false,
"eofline": true,
"align": true
}
}