-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtslint.json
44 lines (44 loc) · 1.39 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
{
"defaultSeverity": "error",
"extends": ["tslint:latest", "tslint-immutable", "tslint-config-prettier"],
"jsRules": {},
"rules": {
"array-type": [true, "array"],
"await-promise": true,
"callable-types": false,
"comment-format": [true, "check-space"],
"curly": false,
"deprecation": true,
"interface-name": [true, "never-prefix"],
"max-classes-per-file": false,
"no-class": false,
"no-conditional-assignment": false,
"no-console": [true, "log"],
"no-delete": true,
"no-empty": false,
"no-empty-interface": false,
"no-expression-statement": false,
"no-floating-promises": false,
"no-if-statement": false,
"no-implicit-dependencies": false,
"no-let": false,
"no-loop-statement": false,
"no-method-signature": true,
"no-mixed-interface": false,
"no-object-mutation": true,
"no-parameter-reassignment": false,
"no-unnecessary-class": [true, "allow-static-only"],
"no-unnecessary-type-assertion": false,
"no-var-keyword": true,
"object-literal-shorthand": [true, "never"],
"object-literal-sort-keys": false,
"ordered-imports": false,
"prefer-const": true,
"promise-function-async": true,
"readonly-array": true,
"readonly-keyword": true,
"typedef": [true, "call-signature"],
"variable-name": [true, "check-format", "allow-leading-underscore"]
},
"rulesDirectory": []
}