-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.json
42 lines (42 loc) · 1.04 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"jsRules": {
"trailing-comma": [true]
},
"rules": {
"no-empty-interface": false,
"interface-name": [false],
"object-literal-sort-keys": false,
"ordered-imports": false,
"no-var-requires": false,
"max-line-length": [120],
"max-file-line-count": [250],
"import-spacing": false,
"space-before-function-paren": [
false,
{
"anonymous": "always"
}
],
"prettier": [true, null, { "editorconfig": false }],
"cyclomatic-complexity": [true, 11],
"member-ordering": [
true,
{
"order": [
"private-static-field",
"private-instance-field",
"public-static-field",
"public-instance-field",
"private-constructor",
"public-constructor",
"protected-instance-method",
"private-instance-method",
"public-instance-method"
]
}
]
},
"rulesDirectory": ["tslint-plugin-prettier"]
}