-
Notifications
You must be signed in to change notification settings - Fork 28
/
tslint.json
41 lines (41 loc) · 1.17 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"jsRules": {},
"rules": {
"semicolon": [true, "never"],
"no-bitwise": false,
"interface-over-type-literal": false,
"no-console": false,
"no-parameter-reassignment": true,
"ordered-imports": false,
"variable-name": false,
"max-classes-per-file": [true, 1],
"quotemark": [true, "single"],
"object-literal-sort-keys": false,
"prefer-function-over-method": [true, "allow-protected"],
"no-unnecessary-type-assertion": true,
"no-unnecessary-class": true,
"prettier": [true, ".prettierrc"],
"member-ordering": [
true,
{
"order": [
"public-static-field",
"private-static-field",
"public-static-method",
"public-instance-field",
"public-constructor",
"private-constructor",
"private-instance-field",
"public-instance-method",
"protected-instance-method",
"private-instance-method",
"protected-static-method",
"private-static-method"
]
}
]
},
"rulesDirectory": ["tslint-plugin-prettier"]
}