-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
54 lines (53 loc) · 1.59 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
{
"defaultSeverity": "warning",
"extends": [
"tslint:recommended"
],
"linterOptions": {
"exclude": [
"node_modules/**"
]
},
"rules": {
"no-empty-interface": false,
"class-name": true,
"no-var-requires": true,
"no-var-keyword": true,
"no-duplicate-variable": true,
"no-shadowed-variable": true,
"no-use-before-declare": true,
"unified-signatures": true,
"no-conditional-assignment": true,
"no-invalid-this": false,
"no-string-throw": true,
"typeof-compare": true,
"use-isnan": true,
"prefer-const": true,
"interface-over-type-literal": true,
"new-parens": true,
"no-angle-bracket-type-assertion": true,
"one-line": true,
"whitespace": [true,
"check-branch", "check-decl", "check-operator", "check-separator", "check-type", "check-typecast"
],
"object-literal-sort-keys": false,
"object-literal-key-quotes": [true, "as-needed"],
"quotemark": false,
"interface-name": [true, "never-prefix"],
"ordered-imports": false,
"trailing-comma": false,
"no-trailing-whitespace": false,
"no-console": false,
"max-classes-per-file": false,
"member-ordering": false,
"member-access": false,
"ban-types": [true,
["Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?"],
["Number", "Avoid using the `Number` type. Did you mean `number`?"],
["String", "Avoid using the `String` type. Did you mean `string`?"],
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"]
],
"no-reference": false,
"variable-name": false
}
}