-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
137 lines (132 loc) · 4.61 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-eslint-rules",
"tslint-sonarts",
"rxjs-tslint-rules"
],
"jsRules": {},
"rules": {
"no-magic-numbers": { "severity": "warning" },
"no-namespace": true,
"no-parameter-reassignment": true,
"only-arrow-functions": true,
"prefer-for-of": true,
"ban-comma-operator": true,
"curly": true,
"cyclomatic-complexity": true,
"eofline": true,
"label-position": true,
"indent": [true, "spaces", 4],
"max-classes-per-file": [true, 5],
"max-line-length": [true, 150],
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": [true, "log", "error", "warn", "debug"],
"no-construct": true,
"no-debugger": true,
"no-duplicate-imports": true,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-dynamic-delete": true,
"no-empty": true,
"no-eval": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-inferred-empty-object-type": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-misused-new": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-switch-case-fall-through": true,
"no-this-assignment": true,
"no-unbound-method": false,
"no-unnecessary-class": true,
"no-unsafe-any": true,
"no-unsafe-finally": true,
"no-unused-expression": false,
"no-unused-variable": false,
"no-use-before-declare": true,
"no-var-keyword": true,
"prefer-conditional-expression": true,
"prefer-object-spread": true,
"radix": true,
"restrict-plus-operands": true,
"strict-boolean-expressions": false,
"strict-type-predicates": false,
"switch-default": true,
"triple-equals": true,
"use-default-type-parameter": true,
"use-isnan": true,
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"align": [true, "parameters", "arguments", "statements", "members", "elements"],
"array-type": [true, "generic"],
"arrow-parens": true,
"arrow-return-shorthand": true,
"binary-expression-operand-order": true,
"class-name": true,
"encoding": true,
"import-spacing": true,
"interface-name": [true, "never-prefix"],
"match-default-export-name": false,
"newline-before-return": true,
"no-boolean-literal-compare": true,
"no-irregular-whitespace": true,
"no-trailing-whitespace": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"object-literal-key-quotes": [true, "as-needed"],
"one-variable-per-declaration": true,
"prefer-const": true,
"prefer-function-over-method": true,
"prefer-template": true,
"quotemark": [true, "single"],
"return-undefined": true,
"semicolon": [true, "always"],
"space-before-function-parent": true,
"typedef-whitespace": true,
"variable-name": false,
"whitespace": [true, "check-branch", "check-operator", "check-typecast"],
"no-all-duplicated-branches": true,
"no-element-overwrite": true,
"no-empty-destructuring": true,
"no-identical-conditions": true,
"no-identical-expressions": true,
"no-ignored-initial-value": true,
"no-ignored-return": true,
"no-misspelled-operator": true,
"no-self-assignment": true,
"no-useless-increment": true,
"no-useless-intersection": true,
"no-constant-condition": true,
"no-control-regex": true,
"no-empty-character-class": true,
"no-ex-assign": true,
"no-extra-boolean-cast": true,
"no-inner-declarations": true,
"no-regex-spaces": true,
"no-unexpected-multiline": true,
"valid-typeof": true,
"object-literal-sort-keys": false,
"member-ordering": false,
"rxjs-add": true,
"rxjs-deep-operators": false,
"rxjs-finnish": true,
"rxjs-no-internal": true,
"rxjs-no-tap": true,
"rxjs-no-unsafe-first": true,
"rxjs-no-unsafe-scope": false
},
"rulesDirectory": [],
"linterOptions": {
"exclude": [
"bin",
"**/*spec.ts"
]
}
}