@eslinted/defaults 17.0.0-rc.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +162 -162
- package/dist/rules/index.d.ts +162 -162
- package/dist/rules/js.d.ts +67 -67
- package/dist/rules/js.stylistic.d.ts +67 -67
- package/dist/rules/js.stylistic.js +67 -67
- package/dist/rules/js.stylistic.js.map +1 -1
- package/dist/rules/svelte/disable.d.ts +3 -3
- package/dist/rules/svelte/disable.js +3 -3
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/extend.d.ts +1 -1
- package/dist/rules/svelte/extend.js +1 -1
- package/dist/rules/svelte/extend.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +4 -4
- package/dist/rules/ts/extend.d.ts +7 -7
- package/dist/rules/ts/extend.js +7 -7
- package/dist/rules/ts/extend.js.map +1 -1
- package/dist/rules/ts/index.d.ts +91 -91
- package/dist/rules/ts/ts.d.ts +84 -84
- package/dist/rules/ts/ts.js +84 -84
- package/dist/rules/ts/ts.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/js.stylistic.ts +74 -74
- package/src/rules/json/plugin/extend.ts +7 -7
- package/src/rules/svelte/disable.ts +3 -3
- package/src/rules/svelte/extend.ts +2 -2
- package/src/rules/svelte/svelte.ts +1 -1
- package/src/rules/ts/extend.ts +9 -9
- package/src/rules/ts/ts.ts +101 -101
- package/src/rules/yml/extend.ts +3 -3
package/dist/rules/ts/index.d.ts
CHANGED
|
@@ -24,22 +24,22 @@ declare const _default: ({
|
|
|
24
24
|
} | {
|
|
25
25
|
name: string;
|
|
26
26
|
rules: {
|
|
27
|
-
readonly "
|
|
28
|
-
readonly "
|
|
29
|
-
readonly "
|
|
30
|
-
readonly "
|
|
31
|
-
readonly "
|
|
32
|
-
readonly "
|
|
33
|
-
readonly "
|
|
27
|
+
readonly "ts/await-thenable": import("../state.js").State.ON;
|
|
28
|
+
readonly "ts/ban-ts-comment": import("../state.js").State.ON;
|
|
29
|
+
readonly "ts/ban-tslint-comment": import("../state.js").State.ON;
|
|
30
|
+
readonly "ts/class-literal-property-style": import("../state.js").State.ON;
|
|
31
|
+
readonly "ts/consistent-generic-constructors": import("../state.js").State.ON;
|
|
32
|
+
readonly "ts/consistent-indexed-object-style": import("../state.js").State.ON;
|
|
33
|
+
readonly "ts/consistent-type-assertions": readonly [
|
|
34
34
|
import("../state.js").State.ON,
|
|
35
35
|
{
|
|
36
36
|
readonly arrayLiteralTypeAssertions: "never";
|
|
37
37
|
readonly objectLiteralTypeAssertions: "never";
|
|
38
38
|
}
|
|
39
39
|
];
|
|
40
|
-
readonly "
|
|
41
|
-
readonly "
|
|
42
|
-
readonly "
|
|
40
|
+
readonly "ts/consistent-type-exports": import("../state.js").State.ON;
|
|
41
|
+
readonly "ts/consistent-type-imports": import("../state.js").State.ON;
|
|
42
|
+
readonly "ts/explicit-member-accessibility": readonly [
|
|
43
43
|
import("../state.js").State.ON,
|
|
44
44
|
{
|
|
45
45
|
readonly overrides: {
|
|
@@ -47,7 +47,7 @@ declare const _default: ({
|
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
];
|
|
50
|
-
readonly "
|
|
50
|
+
readonly "ts/member-ordering": readonly [
|
|
51
51
|
import("../state.js").State.ON,
|
|
52
52
|
{
|
|
53
53
|
readonly default: {
|
|
@@ -55,102 +55,102 @@ declare const _default: ({
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
];
|
|
58
|
-
readonly "
|
|
59
|
-
readonly "
|
|
60
|
-
readonly "
|
|
61
|
-
readonly "
|
|
62
|
-
readonly "
|
|
63
|
-
readonly "
|
|
64
|
-
readonly "
|
|
65
|
-
readonly "
|
|
66
|
-
readonly "
|
|
67
|
-
readonly "
|
|
58
|
+
readonly "ts/method-signature-style": import("../state.js").State.ON;
|
|
59
|
+
readonly "ts/no-array-delete": import("../state.js").State.ON;
|
|
60
|
+
readonly "ts/no-base-to-string": import("../state.js").State.ON;
|
|
61
|
+
readonly "ts/no-confusing-non-null-assertion": import("../state.js").State.ON;
|
|
62
|
+
readonly "ts/no-confusing-void-expression": import("../state.js").State.ON;
|
|
63
|
+
readonly "ts/no-duplicate-enum-values": import("../state.js").State.ON;
|
|
64
|
+
readonly "ts/no-duplicate-type-constituents": import("../state.js").State.ON;
|
|
65
|
+
readonly "ts/no-dynamic-delete": import("../state.js").State.ON;
|
|
66
|
+
readonly "ts/no-empty-object-type": import("../state.js").State.ON;
|
|
67
|
+
readonly "ts/no-explicit-any": readonly [
|
|
68
68
|
import("../state.js").State.ON,
|
|
69
69
|
{
|
|
70
70
|
readonly fixToUnknown: true;
|
|
71
71
|
}
|
|
72
72
|
];
|
|
73
|
-
readonly "
|
|
74
|
-
readonly "
|
|
73
|
+
readonly "ts/no-extra-non-null-assertion": import("../state.js").State.ON;
|
|
74
|
+
readonly "ts/no-extraneous-class": readonly [
|
|
75
75
|
import("../state.js").State.ON,
|
|
76
76
|
{
|
|
77
77
|
readonly allowEmpty: true;
|
|
78
78
|
}
|
|
79
79
|
];
|
|
80
|
-
readonly "
|
|
80
|
+
readonly "ts/no-floating-promises": readonly [
|
|
81
81
|
import("../state.js").State.ON,
|
|
82
82
|
{
|
|
83
83
|
readonly checkThenables: true;
|
|
84
84
|
}
|
|
85
85
|
];
|
|
86
|
-
readonly "
|
|
87
|
-
readonly "
|
|
88
|
-
readonly "
|
|
89
|
-
readonly "
|
|
86
|
+
readonly "ts/no-for-in-array": import("../state.js").State.ON;
|
|
87
|
+
readonly "ts/no-import-type-side-effects": import("../state.js").State.ON;
|
|
88
|
+
readonly "ts/no-inferrable-types": import("../state.js").State.ON;
|
|
89
|
+
readonly "ts/no-meaningless-void-operator": readonly [
|
|
90
90
|
import("../state.js").State.ON,
|
|
91
91
|
{
|
|
92
92
|
readonly checkNever: true;
|
|
93
93
|
}
|
|
94
94
|
];
|
|
95
|
-
readonly "
|
|
96
|
-
readonly "
|
|
97
|
-
readonly "
|
|
98
|
-
readonly "
|
|
99
|
-
readonly "
|
|
100
|
-
readonly "
|
|
101
|
-
readonly "
|
|
102
|
-
readonly "
|
|
103
|
-
readonly "
|
|
104
|
-
readonly "
|
|
105
|
-
readonly "
|
|
106
|
-
readonly "
|
|
107
|
-
readonly "
|
|
108
|
-
readonly "
|
|
109
|
-
readonly "
|
|
110
|
-
readonly "
|
|
111
|
-
readonly "
|
|
112
|
-
readonly "
|
|
113
|
-
readonly "
|
|
114
|
-
readonly "
|
|
115
|
-
readonly "
|
|
116
|
-
readonly "
|
|
117
|
-
readonly "
|
|
118
|
-
readonly "
|
|
119
|
-
readonly "
|
|
120
|
-
readonly "
|
|
95
|
+
readonly "ts/no-misused-new": import("../state.js").State.ON;
|
|
96
|
+
readonly "ts/no-misused-promises": import("../state.js").State.ON;
|
|
97
|
+
readonly "ts/no-misused-spread": import("../state.js").State.ON;
|
|
98
|
+
readonly "ts/no-mixed-enums": import("../state.js").State.ON;
|
|
99
|
+
readonly "ts/no-non-null-asserted-nullish-coalescing": import("../state.js").State.ON;
|
|
100
|
+
readonly "ts/no-non-null-asserted-optional-chain": import("../state.js").State.ON;
|
|
101
|
+
readonly "ts/no-redundant-type-constituents": import("../state.js").State.ON;
|
|
102
|
+
readonly "ts/no-require-imports": import("../state.js").State.ON;
|
|
103
|
+
readonly "ts/no-this-alias": import("../state.js").State.ON;
|
|
104
|
+
readonly "ts/no-unnecessary-boolean-literal-compare": import("../state.js").State.ON;
|
|
105
|
+
readonly "ts/no-unnecessary-condition": import("../state.js").State.ON;
|
|
106
|
+
readonly "ts/no-unnecessary-parameter-property-assignment": import("../state.js").State.ON;
|
|
107
|
+
readonly "ts/no-unnecessary-qualifier": import("../state.js").State.ON;
|
|
108
|
+
readonly "ts/no-unnecessary-template-expression": import("../state.js").State.ON;
|
|
109
|
+
readonly "ts/no-unnecessary-type-arguments": import("../state.js").State.ON;
|
|
110
|
+
readonly "ts/no-unnecessary-type-assertion": import("../state.js").State.ON;
|
|
111
|
+
readonly "ts/no-unnecessary-type-constraint": import("../state.js").State.ON;
|
|
112
|
+
readonly "ts/no-unnecessary-type-conversion": import("../state.js").State.ON;
|
|
113
|
+
readonly "ts/no-unnecessary-type-parameters": import("../state.js").State.ON;
|
|
114
|
+
readonly "ts/no-unsafe-argument": import("../state.js").State.ON;
|
|
115
|
+
readonly "ts/no-unsafe-assignment": import("../state.js").State.ON;
|
|
116
|
+
readonly "ts/no-unsafe-call": import("../state.js").State.ON;
|
|
117
|
+
readonly "ts/no-unsafe-declaration-merging": import("../state.js").State.ON;
|
|
118
|
+
readonly "ts/no-unsafe-enum-comparison": import("../state.js").State.ON;
|
|
119
|
+
readonly "ts/no-unsafe-function-type": import("../state.js").State.ON;
|
|
120
|
+
readonly "ts/no-unsafe-member-access": readonly [
|
|
121
121
|
import("../state.js").State.ON,
|
|
122
122
|
{
|
|
123
123
|
readonly allowOptionalChaining: true;
|
|
124
124
|
}
|
|
125
125
|
];
|
|
126
|
-
readonly "
|
|
127
|
-
readonly "
|
|
128
|
-
readonly "
|
|
129
|
-
readonly "
|
|
130
|
-
readonly "
|
|
126
|
+
readonly "ts/no-unsafe-return": import("../state.js").State.ON;
|
|
127
|
+
readonly "ts/no-unsafe-unary-minus": import("../state.js").State.ON;
|
|
128
|
+
readonly "ts/no-useless-empty-export": import("../state.js").State.ON;
|
|
129
|
+
readonly "ts/no-wrapper-object-types": import("../state.js").State.ON;
|
|
130
|
+
readonly "ts/parameter-properties": readonly [
|
|
131
131
|
import("../state.js").State.ON,
|
|
132
132
|
{
|
|
133
133
|
readonly prefer: "parameter-property";
|
|
134
134
|
}
|
|
135
135
|
];
|
|
136
|
-
readonly "
|
|
137
|
-
readonly "
|
|
138
|
-
readonly "
|
|
139
|
-
readonly "
|
|
140
|
-
readonly "
|
|
141
|
-
readonly "
|
|
142
|
-
readonly "
|
|
143
|
-
readonly "
|
|
144
|
-
readonly "
|
|
145
|
-
readonly "
|
|
146
|
-
readonly "
|
|
147
|
-
readonly "
|
|
148
|
-
readonly "
|
|
149
|
-
readonly "
|
|
150
|
-
readonly "
|
|
151
|
-
readonly "
|
|
152
|
-
readonly "
|
|
153
|
-
readonly "
|
|
136
|
+
readonly "ts/prefer-as-const": import("../state.js").State.ON;
|
|
137
|
+
readonly "ts/prefer-find": import("../state.js").State.ON;
|
|
138
|
+
readonly "ts/prefer-for-of": import("../state.js").State.ON;
|
|
139
|
+
readonly "ts/prefer-function-type": import("../state.js").State.ON;
|
|
140
|
+
readonly "ts/prefer-includes": import("../state.js").State.ON;
|
|
141
|
+
readonly "ts/prefer-literal-enum-member": import("../state.js").State.ON;
|
|
142
|
+
readonly "ts/prefer-namespace-keyword": import("../state.js").State.ON;
|
|
143
|
+
readonly "ts/prefer-nullish-coalescing": import("../state.js").State.ON;
|
|
144
|
+
readonly "ts/prefer-optional-chain": import("../state.js").State.ON;
|
|
145
|
+
readonly "ts/prefer-readonly": import("../state.js").State.ON;
|
|
146
|
+
readonly "ts/prefer-reduce-type-parameter": import("../state.js").State.ON;
|
|
147
|
+
readonly "ts/prefer-regexp-exec": import("../state.js").State.ON;
|
|
148
|
+
readonly "ts/prefer-return-this-type": import("../state.js").State.ON;
|
|
149
|
+
readonly "ts/prefer-string-starts-ends-with": import("../state.js").State.ON;
|
|
150
|
+
readonly "ts/promise-function-async": import("../state.js").State.ON;
|
|
151
|
+
readonly "ts/related-getter-setter-pairs": import("../state.js").State.ON;
|
|
152
|
+
readonly "ts/require-array-sort-compare": import("../state.js").State.ON;
|
|
153
|
+
readonly "ts/restrict-plus-operands": readonly [
|
|
154
154
|
import("../state.js").State.ON,
|
|
155
155
|
{
|
|
156
156
|
readonly allowAny: false;
|
|
@@ -160,7 +160,7 @@ declare const _default: ({
|
|
|
160
160
|
readonly allowRegExp: false;
|
|
161
161
|
}
|
|
162
162
|
];
|
|
163
|
-
readonly "
|
|
163
|
+
readonly "ts/restrict-template-expressions": readonly [
|
|
164
164
|
import("../state.js").State.ON,
|
|
165
165
|
{
|
|
166
166
|
readonly allowNullish: false;
|
|
@@ -168,24 +168,24 @@ declare const _default: ({
|
|
|
168
168
|
readonly allowRegExp: false;
|
|
169
169
|
}
|
|
170
170
|
];
|
|
171
|
-
readonly "
|
|
172
|
-
readonly "
|
|
171
|
+
readonly "ts/return-await": import("../state.js").State.ON;
|
|
172
|
+
readonly "ts/strict-boolean-expressions": readonly [
|
|
173
173
|
import("../state.js").State.ON,
|
|
174
174
|
{
|
|
175
175
|
readonly allowNullableObject: false;
|
|
176
176
|
readonly allowString: false;
|
|
177
177
|
}
|
|
178
178
|
];
|
|
179
|
-
readonly "
|
|
180
|
-
readonly "
|
|
181
|
-
readonly "
|
|
182
|
-
readonly "
|
|
179
|
+
readonly "ts/switch-exhaustiveness-check": import("../state.js").State.ON;
|
|
180
|
+
readonly "ts/unbound-method": import("../state.js").State.ON;
|
|
181
|
+
readonly "ts/unified-signatures": import("../state.js").State.ON;
|
|
182
|
+
readonly "ts/use-unknown-in-catch-callback-variable": import("../state.js").State.ON;
|
|
183
183
|
};
|
|
184
184
|
} | {
|
|
185
185
|
name: string;
|
|
186
186
|
rules: {
|
|
187
187
|
readonly "dot-notation": import("../state.js").State.OFF;
|
|
188
|
-
readonly "
|
|
188
|
+
readonly "ts/dot-notation": readonly [
|
|
189
189
|
import("../state.js").State.ON,
|
|
190
190
|
{
|
|
191
191
|
readonly allowPrivateClassPropertyAccess: true;
|
|
@@ -194,19 +194,19 @@ declare const _default: ({
|
|
|
194
194
|
}
|
|
195
195
|
];
|
|
196
196
|
readonly "no-implied-eval": import("../state.js").State.OFF;
|
|
197
|
-
readonly "
|
|
197
|
+
readonly "ts/no-implied-eval": import("../state.js").State.ON;
|
|
198
198
|
readonly "no-restricted-imports": import("../state.js").State.OFF;
|
|
199
199
|
readonly "no-unused-vars": import("../state.js").State.OFF;
|
|
200
|
-
readonly "
|
|
200
|
+
readonly "ts/no-unused-vars": import("../state.js").State.ON;
|
|
201
201
|
readonly "no-throw-literal": import("../state.js").State.OFF;
|
|
202
|
-
readonly "
|
|
202
|
+
readonly "ts/only-throw-error": readonly [
|
|
203
203
|
import("../state.js").State.ON,
|
|
204
204
|
{
|
|
205
205
|
readonly allowThrowingAny: false;
|
|
206
206
|
}
|
|
207
207
|
];
|
|
208
208
|
readonly "prefer-destructuring": import("../state.js").State.OFF;
|
|
209
|
-
readonly "
|
|
209
|
+
readonly "ts/prefer-destructuring": readonly [
|
|
210
210
|
import("../state.js").State.ON,
|
|
211
211
|
{
|
|
212
212
|
readonly AssignmentExpression: {
|
|
@@ -216,14 +216,14 @@ declare const _default: ({
|
|
|
216
216
|
}
|
|
217
217
|
];
|
|
218
218
|
readonly "prefer-promise-reject-errors": import("../state.js").State.OFF;
|
|
219
|
-
readonly "
|
|
219
|
+
readonly "ts/prefer-promise-reject-errors": readonly [
|
|
220
220
|
import("../state.js").State.ON,
|
|
221
221
|
{
|
|
222
222
|
readonly allowThrowingUnknown: true;
|
|
223
223
|
}
|
|
224
224
|
];
|
|
225
225
|
readonly "require-await": import("../state.js").State.OFF;
|
|
226
|
-
readonly "
|
|
226
|
+
readonly "ts/require-await": import("../state.js").State.ON;
|
|
227
227
|
};
|
|
228
228
|
})[];
|
|
229
229
|
export default _default;
|
package/dist/rules/ts/ts.d.ts
CHANGED
|
@@ -2,22 +2,22 @@ import { State } from "../state.js";
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
name: string;
|
|
4
4
|
rules: {
|
|
5
|
-
readonly "
|
|
6
|
-
readonly "
|
|
7
|
-
readonly "
|
|
8
|
-
readonly "
|
|
9
|
-
readonly "
|
|
10
|
-
readonly "
|
|
11
|
-
readonly "
|
|
5
|
+
readonly "ts/await-thenable": State.ON;
|
|
6
|
+
readonly "ts/ban-ts-comment": State.ON;
|
|
7
|
+
readonly "ts/ban-tslint-comment": State.ON;
|
|
8
|
+
readonly "ts/class-literal-property-style": State.ON;
|
|
9
|
+
readonly "ts/consistent-generic-constructors": State.ON;
|
|
10
|
+
readonly "ts/consistent-indexed-object-style": State.ON;
|
|
11
|
+
readonly "ts/consistent-type-assertions": readonly [
|
|
12
12
|
State.ON,
|
|
13
13
|
{
|
|
14
14
|
readonly arrayLiteralTypeAssertions: "never";
|
|
15
15
|
readonly objectLiteralTypeAssertions: "never";
|
|
16
16
|
}
|
|
17
17
|
];
|
|
18
|
-
readonly "
|
|
19
|
-
readonly "
|
|
20
|
-
readonly "
|
|
18
|
+
readonly "ts/consistent-type-exports": State.ON;
|
|
19
|
+
readonly "ts/consistent-type-imports": State.ON;
|
|
20
|
+
readonly "ts/explicit-member-accessibility": readonly [
|
|
21
21
|
State.ON,
|
|
22
22
|
{
|
|
23
23
|
readonly overrides: {
|
|
@@ -25,7 +25,7 @@ declare const _default: {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
];
|
|
28
|
-
readonly "
|
|
28
|
+
readonly "ts/member-ordering": readonly [
|
|
29
29
|
State.ON,
|
|
30
30
|
{
|
|
31
31
|
readonly default: {
|
|
@@ -33,102 +33,102 @@ declare const _default: {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
];
|
|
36
|
-
readonly "
|
|
37
|
-
readonly "
|
|
38
|
-
readonly "
|
|
39
|
-
readonly "
|
|
40
|
-
readonly "
|
|
41
|
-
readonly "
|
|
42
|
-
readonly "
|
|
43
|
-
readonly "
|
|
44
|
-
readonly "
|
|
45
|
-
readonly "
|
|
36
|
+
readonly "ts/method-signature-style": State.ON;
|
|
37
|
+
readonly "ts/no-array-delete": State.ON;
|
|
38
|
+
readonly "ts/no-base-to-string": State.ON;
|
|
39
|
+
readonly "ts/no-confusing-non-null-assertion": State.ON;
|
|
40
|
+
readonly "ts/no-confusing-void-expression": State.ON;
|
|
41
|
+
readonly "ts/no-duplicate-enum-values": State.ON;
|
|
42
|
+
readonly "ts/no-duplicate-type-constituents": State.ON;
|
|
43
|
+
readonly "ts/no-dynamic-delete": State.ON;
|
|
44
|
+
readonly "ts/no-empty-object-type": State.ON;
|
|
45
|
+
readonly "ts/no-explicit-any": readonly [
|
|
46
46
|
State.ON,
|
|
47
47
|
{
|
|
48
48
|
readonly fixToUnknown: true;
|
|
49
49
|
}
|
|
50
50
|
];
|
|
51
|
-
readonly "
|
|
52
|
-
readonly "
|
|
51
|
+
readonly "ts/no-extra-non-null-assertion": State.ON;
|
|
52
|
+
readonly "ts/no-extraneous-class": readonly [
|
|
53
53
|
State.ON,
|
|
54
54
|
{
|
|
55
55
|
readonly allowEmpty: true;
|
|
56
56
|
}
|
|
57
57
|
];
|
|
58
|
-
readonly "
|
|
58
|
+
readonly "ts/no-floating-promises": readonly [
|
|
59
59
|
State.ON,
|
|
60
60
|
{
|
|
61
61
|
readonly checkThenables: true;
|
|
62
62
|
}
|
|
63
63
|
];
|
|
64
|
-
readonly "
|
|
65
|
-
readonly "
|
|
66
|
-
readonly "
|
|
67
|
-
readonly "
|
|
64
|
+
readonly "ts/no-for-in-array": State.ON;
|
|
65
|
+
readonly "ts/no-import-type-side-effects": State.ON;
|
|
66
|
+
readonly "ts/no-inferrable-types": State.ON;
|
|
67
|
+
readonly "ts/no-meaningless-void-operator": readonly [
|
|
68
68
|
State.ON,
|
|
69
69
|
{
|
|
70
70
|
readonly checkNever: true;
|
|
71
71
|
}
|
|
72
72
|
];
|
|
73
|
-
readonly "
|
|
74
|
-
readonly "
|
|
75
|
-
readonly "
|
|
76
|
-
readonly "
|
|
77
|
-
readonly "
|
|
78
|
-
readonly "
|
|
79
|
-
readonly "
|
|
80
|
-
readonly "
|
|
81
|
-
readonly "
|
|
82
|
-
readonly "
|
|
83
|
-
readonly "
|
|
84
|
-
readonly "
|
|
85
|
-
readonly "
|
|
86
|
-
readonly "
|
|
87
|
-
readonly "
|
|
88
|
-
readonly "
|
|
89
|
-
readonly "
|
|
90
|
-
readonly "
|
|
91
|
-
readonly "
|
|
92
|
-
readonly "
|
|
93
|
-
readonly "
|
|
94
|
-
readonly "
|
|
95
|
-
readonly "
|
|
96
|
-
readonly "
|
|
97
|
-
readonly "
|
|
98
|
-
readonly "
|
|
73
|
+
readonly "ts/no-misused-new": State.ON;
|
|
74
|
+
readonly "ts/no-misused-promises": State.ON;
|
|
75
|
+
readonly "ts/no-misused-spread": State.ON;
|
|
76
|
+
readonly "ts/no-mixed-enums": State.ON;
|
|
77
|
+
readonly "ts/no-non-null-asserted-nullish-coalescing": State.ON;
|
|
78
|
+
readonly "ts/no-non-null-asserted-optional-chain": State.ON;
|
|
79
|
+
readonly "ts/no-redundant-type-constituents": State.ON;
|
|
80
|
+
readonly "ts/no-require-imports": State.ON;
|
|
81
|
+
readonly "ts/no-this-alias": State.ON;
|
|
82
|
+
readonly "ts/no-unnecessary-boolean-literal-compare": State.ON;
|
|
83
|
+
readonly "ts/no-unnecessary-condition": State.ON;
|
|
84
|
+
readonly "ts/no-unnecessary-parameter-property-assignment": State.ON;
|
|
85
|
+
readonly "ts/no-unnecessary-qualifier": State.ON;
|
|
86
|
+
readonly "ts/no-unnecessary-template-expression": State.ON;
|
|
87
|
+
readonly "ts/no-unnecessary-type-arguments": State.ON;
|
|
88
|
+
readonly "ts/no-unnecessary-type-assertion": State.ON;
|
|
89
|
+
readonly "ts/no-unnecessary-type-constraint": State.ON;
|
|
90
|
+
readonly "ts/no-unnecessary-type-conversion": State.ON;
|
|
91
|
+
readonly "ts/no-unnecessary-type-parameters": State.ON;
|
|
92
|
+
readonly "ts/no-unsafe-argument": State.ON;
|
|
93
|
+
readonly "ts/no-unsafe-assignment": State.ON;
|
|
94
|
+
readonly "ts/no-unsafe-call": State.ON;
|
|
95
|
+
readonly "ts/no-unsafe-declaration-merging": State.ON;
|
|
96
|
+
readonly "ts/no-unsafe-enum-comparison": State.ON;
|
|
97
|
+
readonly "ts/no-unsafe-function-type": State.ON;
|
|
98
|
+
readonly "ts/no-unsafe-member-access": readonly [
|
|
99
99
|
State.ON,
|
|
100
100
|
{
|
|
101
101
|
readonly allowOptionalChaining: true;
|
|
102
102
|
}
|
|
103
103
|
];
|
|
104
|
-
readonly "
|
|
105
|
-
readonly "
|
|
106
|
-
readonly "
|
|
107
|
-
readonly "
|
|
108
|
-
readonly "
|
|
104
|
+
readonly "ts/no-unsafe-return": State.ON;
|
|
105
|
+
readonly "ts/no-unsafe-unary-minus": State.ON;
|
|
106
|
+
readonly "ts/no-useless-empty-export": State.ON;
|
|
107
|
+
readonly "ts/no-wrapper-object-types": State.ON;
|
|
108
|
+
readonly "ts/parameter-properties": readonly [
|
|
109
109
|
State.ON,
|
|
110
110
|
{
|
|
111
111
|
readonly prefer: "parameter-property";
|
|
112
112
|
}
|
|
113
113
|
];
|
|
114
|
-
readonly "
|
|
115
|
-
readonly "
|
|
116
|
-
readonly "
|
|
117
|
-
readonly "
|
|
118
|
-
readonly "
|
|
119
|
-
readonly "
|
|
120
|
-
readonly "
|
|
121
|
-
readonly "
|
|
122
|
-
readonly "
|
|
123
|
-
readonly "
|
|
124
|
-
readonly "
|
|
125
|
-
readonly "
|
|
126
|
-
readonly "
|
|
127
|
-
readonly "
|
|
128
|
-
readonly "
|
|
129
|
-
readonly "
|
|
130
|
-
readonly "
|
|
131
|
-
readonly "
|
|
114
|
+
readonly "ts/prefer-as-const": State.ON;
|
|
115
|
+
readonly "ts/prefer-find": State.ON;
|
|
116
|
+
readonly "ts/prefer-for-of": State.ON;
|
|
117
|
+
readonly "ts/prefer-function-type": State.ON;
|
|
118
|
+
readonly "ts/prefer-includes": State.ON;
|
|
119
|
+
readonly "ts/prefer-literal-enum-member": State.ON;
|
|
120
|
+
readonly "ts/prefer-namespace-keyword": State.ON;
|
|
121
|
+
readonly "ts/prefer-nullish-coalescing": State.ON;
|
|
122
|
+
readonly "ts/prefer-optional-chain": State.ON;
|
|
123
|
+
readonly "ts/prefer-readonly": State.ON;
|
|
124
|
+
readonly "ts/prefer-reduce-type-parameter": State.ON;
|
|
125
|
+
readonly "ts/prefer-regexp-exec": State.ON;
|
|
126
|
+
readonly "ts/prefer-return-this-type": State.ON;
|
|
127
|
+
readonly "ts/prefer-string-starts-ends-with": State.ON;
|
|
128
|
+
readonly "ts/promise-function-async": State.ON;
|
|
129
|
+
readonly "ts/related-getter-setter-pairs": State.ON;
|
|
130
|
+
readonly "ts/require-array-sort-compare": State.ON;
|
|
131
|
+
readonly "ts/restrict-plus-operands": readonly [
|
|
132
132
|
State.ON,
|
|
133
133
|
{
|
|
134
134
|
readonly allowAny: false;
|
|
@@ -138,7 +138,7 @@ declare const _default: {
|
|
|
138
138
|
readonly allowRegExp: false;
|
|
139
139
|
}
|
|
140
140
|
];
|
|
141
|
-
readonly "
|
|
141
|
+
readonly "ts/restrict-template-expressions": readonly [
|
|
142
142
|
State.ON,
|
|
143
143
|
{
|
|
144
144
|
readonly allowNullish: false;
|
|
@@ -146,18 +146,18 @@ declare const _default: {
|
|
|
146
146
|
readonly allowRegExp: false;
|
|
147
147
|
}
|
|
148
148
|
];
|
|
149
|
-
readonly "
|
|
150
|
-
readonly "
|
|
149
|
+
readonly "ts/return-await": State.ON;
|
|
150
|
+
readonly "ts/strict-boolean-expressions": readonly [
|
|
151
151
|
State.ON,
|
|
152
152
|
{
|
|
153
153
|
readonly allowNullableObject: false;
|
|
154
154
|
readonly allowString: false;
|
|
155
155
|
}
|
|
156
156
|
];
|
|
157
|
-
readonly "
|
|
158
|
-
readonly "
|
|
159
|
-
readonly "
|
|
160
|
-
readonly "
|
|
157
|
+
readonly "ts/switch-exhaustiveness-check": State.ON;
|
|
158
|
+
readonly "ts/unbound-method": State.ON;
|
|
159
|
+
readonly "ts/unified-signatures": State.ON;
|
|
160
|
+
readonly "ts/use-unknown-in-catch-callback-variable": State.ON;
|
|
161
161
|
};
|
|
162
162
|
};
|
|
163
163
|
export default _default;
|