-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
66 lines (66 loc) · 2.13 KB
/
Copy pathtslint.json
File metadata and controls
66 lines (66 loc) · 2.13 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
{
"defaultSeverity": "warning",
"extends": ["tslint:recommended"],
"rules": {
"align": false,
"array-type": [true, "array"],
"arrow-parens": false,
"deprecation": true,
"eofline": false,
"interface-name": false,
"interface-over-type-literal": false,
"max-classes-per-file": false,
"max-line-length": false,
"member-access": [true, "no-public"],
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"one-variable-per-declaration": false,
"only-arrow-functions": false,
"no-angle-bracket-type-assertion": false,
"no-big-function": false,
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": false,
"no-duplicate-imports": [true, {"allow-namespace-imports": true}],
"no-duplicate-string": false,
"no-duplicate-variable": true,
"no-inferred-empty-object-type": true,
"no-invalid-this": true,
"no-nested-template-literals": false,
"no-null-keyword": true,
"no-object-literal-type-assertion": true,
"no-require-imports": true,
"no-restricted-globals": true,
"no-unsafe-any": true,
"no-unused-expression": false,
"no-useless-cast": false,
"no-void-expression": [true, "ignore-arrow-function-shorthand"],
"ordered-imports": false,
"parameters-max-number": false,
"prefer-readonly": true,
"radix": false,
"restrict-plus-operands": true,
"return-undefined": true,
"semicolon": true,
"strict-boolean-expressions": [
true,
"allow-null-union",
"allow-undefined-union",
"ignore-rhs"
],
"trailing-comma": false,
"triple-equals": [true, "allow-undefined-check"],
"typedef": [true, "call-signature", "parameter", "property-declaration"],
"unnecessary-bind": true,
"use-default-type-parameter": true,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case", "require-const-for-all-caps"],
"whitespace": [ true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-rest-spread",
"check-type"
]
}
}