-
Notifications
You must be signed in to change notification settings - Fork 8
/
tslint.json
39 lines (39 loc) · 1.11 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
{
"extends": "tslint:recommended",
"linterOptions": {},
"rules": {
"semicolon": [true, "always", "ignore-bound-class-methods", "ignore-interfaces"],
"no-console": false,
"trailing-comma": [
true,
{
"singleline": "never",
"multiline": {
"objects": "ignore",
"arrays": "ignore",
"functions": "ignore",
"typeLiterals": "ignore"
}
}
],
"max-line-length": [true, 320],
"member-ordering": [
true,
{
"order": ["public-static-field", "public-instance-field", "private-static-field", "private-instance-field", "public-constructor", "private-constructor", "public-instance-method", "protected-instance-method", "private-instance-method"]
}
],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always",
"constructor": "never"
}
],
"no-var-requires": false,
"no-reference": false
}
}