-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
49 lines (46 loc) · 1.37 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
{
"defaultSeverity": "error",
"extends": [
"tslint:all",
"tslint-immutable"
],
"jsRules": {},
"rules": {
"semicolon": false,
"interface-name": false,
"arrow-parens": false,
"ordered-imports": false,
"forin": false,
"interface-over-type-literal": false,
"object-literal-sort-keys": false,
// Recommended built-in rules
"no-var-keyword": true,
"no-parameter-reassignment": true,
"typedef": true,
"linebreak-style": false,
"newline-before-return": false,
"type-literal-delimiter": false,
"trailing-comma": false,
"prefer-method-signature": false,
"member-ordering": false,
// this rule has too many false positives.
"no-use-before-declare": false,
// Immutability rules
"readonly-keyword": true,
"readonly-array": true,
"no-let": [true, "ignore-local"],
"no-object-mutation": true,
"no-delete": true,
"no-method-signature": true,
"array-type": false,
// Functional style rules
"no-this": true,
"no-class": true,
"no-mixed-interface": true,
"no-expression-statement": true,
"no-if-statement": true,
"no-loop-statement": true,
"strict-comparisons": false
},
"rulesDirectory": []
}