-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
78 lines (78 loc) · 2.27 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
69
70
71
72
73
74
75
76
77
78
{
"extends": "tslint:latest",
"rules": {
"ban-comma-operator": false,
"quotemark": [true, "single", "jsx-double"],
"eofline": true,
"ordered-imports": false,
"only-arrow-functions": false,
"arrow-parens": {
"options": ["ban-single-arg-parens"]
},
"no-duplicate-imports": true,
"no-consecutive-blank-lines": [true, 2],
"no-trailing-whitespace": true,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"trailing-comma": false,
"switch-default": false,
"no-default-export": true,
"no-string-literal": true,
"prefer-const": true,
"space-before-function-paren": [
true,
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"no-empty-interface": true,
"no-bitwise": false,
"ban-types": true,
"no-parameter-properties": false,
"no-namespace": false,
"no-implicit-dependencies": [true, "dev"],
"prefer-readonly": true,
"max-classes-per-file": false,
"interface-name": [true, "never-prefix"],
"interface-over-type-literal": false,
"no-conditional-assignment": false,
"no-empty": true,
"no-submodule-imports": false,
"max-line-length": false,
"no-parameter-reassignment": true,
"newline-before-return": true,
"prefer-conditional-expression": false,
"no-this-assignment": false,
"no-return-await": true,
"member-access": [true, "no-public"],
"unified-signatures": false,
"no-arg": true,
"cyclomatic-complexity": false,
"member-ordering": [
true,
{
"order": [
"private-static-field",
"protected-static-field",
"public-static-field",
"public-static-method",
"protected-static-method",
"private-static-method",
"private-instance-field",
"protected-instance-field",
"public-instance-field",
"public-constructor",
"protected-constructor",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
]
},
"exclude": ["node_modules", "**/*.d.ts"]
}