linted 16.0.4-rc.1 → 16.0.5-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -7
- package/dist/index.js.map +1 -1
- package/dist/statics/rules/presets/Html.js +2 -2
- package/dist/statics/rules/presets/Html.js.map +1 -1
- package/dist/statics/rules/presets/Js.js +2 -2
- package/dist/statics/rules/presets/Js.js.map +1 -1
- package/dist/statics/rules/presets/Json.js +2 -2
- package/dist/statics/rules/presets/Json.js.map +1 -1
- package/dist/statics/rules/presets/Jsonc.js +1 -1
- package/dist/statics/rules/presets/Jsonc.js.map +1 -1
- package/dist/statics/rules/presets/Md.js +1 -1
- package/dist/statics/rules/presets/Md.js.map +1 -1
- package/dist/statics/rules/presets/Mocha.js +2 -2
- package/dist/statics/rules/presets/Mocha.js.map +1 -1
- package/dist/statics/rules/presets/Svelte.js +5 -5
- package/dist/statics/rules/presets/Svelte.js.map +1 -1
- package/dist/statics/rules/presets/Ts.js +4 -4
- package/dist/statics/rules/presets/Ts.js.map +1 -1
- package/dist/statics/rules/presets/Yml.js +2 -2
- package/dist/statics/rules/presets/Yml.js.map +1 -1
- package/dist/statics/rules/presets/html/Enable.d.ts +5 -0
- package/dist/statics/rules/presets/html/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/html/Enable.js +7 -0
- package/dist/statics/rules/presets/html/Enable.js.map +1 -0
- package/dist/statics/rules/presets/html/Recommended.d.ts +3 -0
- package/dist/statics/rules/presets/html/Recommended.d.ts.map +1 -0
- package/dist/statics/rules/presets/html/Recommended.js +8 -0
- package/dist/statics/rules/presets/html/Recommended.js.map +1 -0
- package/dist/statics/rules/presets/index.d.ts +8 -0
- package/dist/statics/rules/presets/index.d.ts.map +1 -0
- package/dist/statics/rules/presets/index.js +2 -0
- package/dist/statics/rules/presets/index.js.map +1 -0
- package/dist/statics/rules/presets/js/Enable.d.ts +348 -0
- package/dist/statics/rules/presets/js/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/js/Enable.js +463 -0
- package/dist/statics/rules/presets/js/Enable.js.map +1 -0
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts +414 -0
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts.map +1 -0
- package/dist/statics/rules/presets/js/EnableStylistic.js +664 -0
- package/dist/statics/rules/presets/js/EnableStylistic.js.map +1 -0
- package/dist/statics/rules/presets/json/Enable.d.ts +27 -0
- package/dist/statics/rules/presets/json/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/json/Enable.js +31 -0
- package/dist/statics/rules/presets/json/Enable.js.map +1 -0
- package/dist/statics/rules/presets/json/EnableX.d.ts +50 -0
- package/dist/statics/rules/presets/json/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/json/EnableX.js +92 -0
- package/dist/statics/rules/presets/json/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts +6 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts.map +1 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.js +13 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.js.map +1 -0
- package/dist/statics/rules/presets/md/Enable.d.ts +38 -0
- package/dist/statics/rules/presets/md/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/md/Enable.js +58 -0
- package/dist/statics/rules/presets/md/Enable.js.map +1 -0
- package/dist/statics/rules/presets/mocha/Enable.d.ts +3 -0
- package/dist/statics/rules/presets/mocha/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/mocha/Enable.js +7 -0
- package/dist/statics/rules/presets/mocha/Enable.js.map +1 -0
- package/dist/statics/rules/presets/mocha/Recommended.d.ts +3 -0
- package/dist/statics/rules/presets/mocha/Recommended.d.ts.map +1 -0
- package/dist/statics/rules/presets/mocha/Recommended.js +8 -0
- package/dist/statics/rules/presets/mocha/Recommended.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts +6 -0
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableJS.js +10 -0
- package/dist/statics/rules/presets/svelte/DisableJS.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts +6 -0
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableTS.js +10 -0
- package/dist/statics/rules/presets/svelte/DisableTS.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableX.d.ts +5 -0
- package/dist/statics/rules/presets/svelte/DisableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableX.js +9 -0
- package/dist/statics/rules/presets/svelte/DisableX.js.map +1 -0
- package/dist/statics/rules/presets/svelte/Enable.d.ts +126 -0
- package/dist/statics/rules/presets/svelte/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/Enable.js +179 -0
- package/dist/statics/rules/presets/svelte/Enable.js.map +1 -0
- package/dist/statics/rules/presets/svelte/EnableX.d.ts +8 -0
- package/dist/statics/rules/presets/svelte/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/EnableX.js +14 -0
- package/dist/statics/rules/presets/svelte/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.d.ts +18 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.js +22 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.js.map +1 -0
- package/dist/statics/rules/presets/ts/DisableX.d.ts +28 -0
- package/dist/statics/rules/presets/ts/DisableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/DisableX.js +32 -0
- package/dist/statics/rules/presets/ts/DisableX.js.map +1 -0
- package/dist/statics/rules/presets/ts/Enable.d.ts +262 -0
- package/dist/statics/rules/presets/ts/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/Enable.js +496 -0
- package/dist/statics/rules/presets/ts/Enable.js.map +1 -0
- package/dist/statics/rules/presets/ts/EnableX.d.ts +72 -0
- package/dist/statics/rules/presets/ts/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/EnableX.js +107 -0
- package/dist/statics/rules/presets/ts/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/yml/Enable.d.ts +39 -0
- package/dist/statics/rules/presets/yml/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/yml/Enable.js +69 -0
- package/dist/statics/rules/presets/yml/Enable.js.map +1 -0
- package/dist/statics/rules/presets/yml/EnableX.d.ts +37 -0
- package/dist/statics/rules/presets/yml/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/yml/EnableX.js +67 -0
- package/dist/statics/rules/presets/yml/EnableX.js.map +1 -0
- package/package.json +2 -2
- package/src/index.ts +2 -8
- package/src/statics/rules/presets/Html.ts +3 -3
- package/src/statics/rules/presets/Js.ts +3 -3
- package/src/statics/rules/presets/Json.ts +3 -3
- package/src/statics/rules/presets/Jsonc.ts +2 -2
- package/src/statics/rules/presets/Md.ts +2 -2
- package/src/statics/rules/presets/Mocha.ts +3 -3
- package/src/statics/rules/presets/Svelte.ts +6 -6
- package/src/statics/rules/presets/Ts.ts +5 -5
- package/src/statics/rules/presets/Yml.ts +3 -3
- package/src/statics/rules/presets/{entries/index.ts → index.ts} +1 -1
- /package/src/statics/rules/presets/{entries/html → html}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/html → html}/Recommended.ts +0 -0
- /package/src/statics/rules/presets/{entries/js → js}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/js → js}/EnableStylistic.ts +0 -0
- /package/src/statics/rules/presets/{entries/json → json}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/json → json}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/jsonc → jsonc}/OverrideJson.ts +0 -0
- /package/src/statics/rules/presets/{entries/md → md}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/mocha → mocha}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/mocha → mocha}/Recommended.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableJS.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableTS.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/DisableCompiler.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/DisableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/yml → yml}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/yml → yml}/EnableX.ts +0 -0
@@ -0,0 +1,496 @@
|
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, }, } = Strings;
|
3
|
+
export default [
|
4
|
+
Enable,
|
5
|
+
{
|
6
|
+
"@typescript-eslint/adjacent-overload-signatures": OFF,
|
7
|
+
"@typescript-eslint/array-type": [
|
8
|
+
ERROR,
|
9
|
+
{
|
10
|
+
"default": "array",
|
11
|
+
readonly: "array",
|
12
|
+
},
|
13
|
+
],
|
14
|
+
"@typescript-eslint/await-thenable": ERROR,
|
15
|
+
"@typescript-eslint/ban-ts-comment": [
|
16
|
+
ERROR,
|
17
|
+
{
|
18
|
+
"ts-check": false,
|
19
|
+
"ts-expect-error": true,
|
20
|
+
"ts-ignore": true,
|
21
|
+
"ts-nocheck": true,
|
22
|
+
minimumDescriptionLength: 10,
|
23
|
+
},
|
24
|
+
],
|
25
|
+
"@typescript-eslint/ban-tslint-comment": ERROR,
|
26
|
+
"@typescript-eslint/class-literal-property-style": [
|
27
|
+
ERROR,
|
28
|
+
"fields",
|
29
|
+
],
|
30
|
+
"@typescript-eslint/consistent-generic-constructors": [
|
31
|
+
ERROR,
|
32
|
+
"constructor",
|
33
|
+
],
|
34
|
+
"@typescript-eslint/consistent-indexed-object-style": [
|
35
|
+
ERROR,
|
36
|
+
"record",
|
37
|
+
],
|
38
|
+
"@typescript-eslint/consistent-type-assertions": [
|
39
|
+
ERROR,
|
40
|
+
{
|
41
|
+
assertionStyle: "as",
|
42
|
+
objectLiteralTypeAssertions: NEVER,
|
43
|
+
},
|
44
|
+
],
|
45
|
+
"@typescript-eslint/consistent-type-definitions": OFF,
|
46
|
+
"@typescript-eslint/consistent-type-exports": [
|
47
|
+
ERROR,
|
48
|
+
{ fixMixedExportsWithInlineTypeSpecifier: false },
|
49
|
+
],
|
50
|
+
"@typescript-eslint/consistent-type-imports": [
|
51
|
+
ERROR,
|
52
|
+
{
|
53
|
+
disallowTypeAnnotations: true,
|
54
|
+
fixStyle: "separate-type-imports",
|
55
|
+
prefer: "type-imports",
|
56
|
+
},
|
57
|
+
],
|
58
|
+
"@typescript-eslint/explicit-function-return-type": OFF,
|
59
|
+
"@typescript-eslint/explicit-member-accessibility": [
|
60
|
+
ERROR,
|
61
|
+
{
|
62
|
+
accessibility: "explicit",
|
63
|
+
ignoredMethodNames: [],
|
64
|
+
overrides: {
|
65
|
+
properties: "explicit",
|
66
|
+
constructors: "no-public",
|
67
|
+
accessors: "explicit",
|
68
|
+
methods: "explicit",
|
69
|
+
parameterProperties: "explicit",
|
70
|
+
},
|
71
|
+
},
|
72
|
+
],
|
73
|
+
"@typescript-eslint/explicit-module-boundary-types": OFF,
|
74
|
+
"@typescript-eslint/member-ordering": [
|
75
|
+
ERROR,
|
76
|
+
{
|
77
|
+
"default": {
|
78
|
+
memberTypes: [
|
79
|
+
"signature",
|
80
|
+
"call-signature",
|
81
|
+
"public-static-field",
|
82
|
+
"protected-static-field",
|
83
|
+
"private-static-field",
|
84
|
+
"#private-static-field",
|
85
|
+
"public-decorated-field",
|
86
|
+
"protected-decorated-field",
|
87
|
+
"private-decorated-field",
|
88
|
+
"public-instance-field",
|
89
|
+
"protected-instance-field",
|
90
|
+
"private-instance-field",
|
91
|
+
"#private-instance-field",
|
92
|
+
"public-abstract-field",
|
93
|
+
"protected-abstract-field",
|
94
|
+
"public-field",
|
95
|
+
"protected-field",
|
96
|
+
"private-field",
|
97
|
+
"#private-field",
|
98
|
+
"static-field",
|
99
|
+
"instance-field",
|
100
|
+
"abstract-field",
|
101
|
+
"decorated-field",
|
102
|
+
"field",
|
103
|
+
"static-initialization",
|
104
|
+
"public-constructor",
|
105
|
+
"protected-constructor",
|
106
|
+
"private-constructor",
|
107
|
+
"constructor",
|
108
|
+
"public-static-accessor",
|
109
|
+
"protected-static-accessor",
|
110
|
+
"private-static-accessor",
|
111
|
+
"#private-static-accessor",
|
112
|
+
"public-decorated-accessor",
|
113
|
+
"protected-decorated-accessor",
|
114
|
+
"private-decorated-accessor",
|
115
|
+
"public-instance-accessor",
|
116
|
+
"protected-instance-accessor",
|
117
|
+
"private-instance-accessor",
|
118
|
+
"#private-instance-accessor",
|
119
|
+
"public-abstract-accessor",
|
120
|
+
"protected-abstract-accessor",
|
121
|
+
"public-accessor",
|
122
|
+
"protected-accessor",
|
123
|
+
"private-accessor",
|
124
|
+
"#private-accessor",
|
125
|
+
"static-accessor",
|
126
|
+
"instance-accessor",
|
127
|
+
"abstract-accessor",
|
128
|
+
"decorated-accessor",
|
129
|
+
"accessor",
|
130
|
+
"public-static-get",
|
131
|
+
"protected-static-get",
|
132
|
+
"private-static-get",
|
133
|
+
"#private-static-get",
|
134
|
+
"public-decorated-get",
|
135
|
+
"protected-decorated-get",
|
136
|
+
"private-decorated-get",
|
137
|
+
"public-instance-get",
|
138
|
+
"protected-instance-get",
|
139
|
+
"private-instance-get",
|
140
|
+
"#private-instance-get",
|
141
|
+
"public-abstract-get",
|
142
|
+
"protected-abstract-get",
|
143
|
+
"public-get",
|
144
|
+
"protected-get",
|
145
|
+
"private-get",
|
146
|
+
"#private-get",
|
147
|
+
"static-get",
|
148
|
+
"instance-get",
|
149
|
+
"abstract-get",
|
150
|
+
"decorated-get",
|
151
|
+
"get",
|
152
|
+
"public-static-set",
|
153
|
+
"protected-static-set",
|
154
|
+
"private-static-set",
|
155
|
+
"#private-static-set",
|
156
|
+
"public-decorated-set",
|
157
|
+
"protected-decorated-set",
|
158
|
+
"private-decorated-set",
|
159
|
+
"public-instance-set",
|
160
|
+
"protected-instance-set",
|
161
|
+
"private-instance-set",
|
162
|
+
"#private-instance-set",
|
163
|
+
"public-abstract-set",
|
164
|
+
"protected-abstract-set",
|
165
|
+
"public-set",
|
166
|
+
"protected-set",
|
167
|
+
"private-set",
|
168
|
+
"#private-set",
|
169
|
+
"static-set",
|
170
|
+
"instance-set",
|
171
|
+
"abstract-set",
|
172
|
+
"decorated-set",
|
173
|
+
"set",
|
174
|
+
"public-static-method",
|
175
|
+
"protected-static-method",
|
176
|
+
"private-static-method",
|
177
|
+
"#private-static-method",
|
178
|
+
"public-decorated-method",
|
179
|
+
"protected-decorated-method",
|
180
|
+
"private-decorated-method",
|
181
|
+
"public-instance-method",
|
182
|
+
"protected-instance-method",
|
183
|
+
"private-instance-method",
|
184
|
+
"#private-instance-method",
|
185
|
+
"public-abstract-method",
|
186
|
+
"protected-abstract-method",
|
187
|
+
"public-method",
|
188
|
+
"protected-method",
|
189
|
+
"private-method",
|
190
|
+
"#private-method",
|
191
|
+
"static-method",
|
192
|
+
"instance-method",
|
193
|
+
"abstract-method",
|
194
|
+
"decorated-method",
|
195
|
+
"method",
|
196
|
+
],
|
197
|
+
optionalityOrder: "required-first",
|
198
|
+
order: "as-written",
|
199
|
+
},
|
200
|
+
},
|
201
|
+
],
|
202
|
+
"@typescript-eslint/method-signature-style": [
|
203
|
+
ERROR,
|
204
|
+
"property",
|
205
|
+
],
|
206
|
+
"@typescript-eslint/naming-convention": OFF,
|
207
|
+
"@typescript-eslint/no-array-delete": ERROR,
|
208
|
+
"@typescript-eslint/no-base-to-string": [
|
209
|
+
ERROR,
|
210
|
+
{
|
211
|
+
ignoredTypeNames: [
|
212
|
+
"Error",
|
213
|
+
"RegExp",
|
214
|
+
"URL",
|
215
|
+
"URLSearchParams",
|
216
|
+
],
|
217
|
+
},
|
218
|
+
],
|
219
|
+
"@typescript-eslint/no-confusing-non-null-assertion": ERROR,
|
220
|
+
"@typescript-eslint/no-confusing-void-expression": [
|
221
|
+
ERROR,
|
222
|
+
{
|
223
|
+
ignoreArrowShorthand: true,
|
224
|
+
ignoreVoidOperator: true,
|
225
|
+
},
|
226
|
+
],
|
227
|
+
"@typescript-eslint/no-duplicate-enum-values": ERROR,
|
228
|
+
"@typescript-eslint/no-duplicate-type-constituents": [
|
229
|
+
ERROR,
|
230
|
+
{
|
231
|
+
ignoreIntersections: false,
|
232
|
+
ignoreUnions: false,
|
233
|
+
},
|
234
|
+
],
|
235
|
+
"@typescript-eslint/no-dynamic-delete": ERROR,
|
236
|
+
"@typescript-eslint/no-empty-object-type": [
|
237
|
+
ERROR,
|
238
|
+
{
|
239
|
+
allowInterfaces: NEVER,
|
240
|
+
allowObjectTypes: NEVER,
|
241
|
+
},
|
242
|
+
],
|
243
|
+
"@typescript-eslint/no-explicit-any": [
|
244
|
+
ERROR,
|
245
|
+
{
|
246
|
+
fixToUnknown: true,
|
247
|
+
ignoreRestArgs: false,
|
248
|
+
},
|
249
|
+
],
|
250
|
+
"@typescript-eslint/no-extra-non-null-assertion": ERROR,
|
251
|
+
"@typescript-eslint/no-extraneous-class": [
|
252
|
+
ERROR,
|
253
|
+
{
|
254
|
+
allowConstructorOnly: false,
|
255
|
+
allowEmpty: true,
|
256
|
+
allowStaticOnly: false,
|
257
|
+
allowWithDecorator: false,
|
258
|
+
},
|
259
|
+
],
|
260
|
+
"@typescript-eslint/no-floating-promises": [
|
261
|
+
ERROR,
|
262
|
+
{
|
263
|
+
checkThenables: true,
|
264
|
+
ignoreVoid: true,
|
265
|
+
ignoreIIFE: false,
|
266
|
+
},
|
267
|
+
],
|
268
|
+
"@typescript-eslint/no-for-in-array": ERROR,
|
269
|
+
"@typescript-eslint/no-import-type-side-effects": ERROR,
|
270
|
+
"@typescript-eslint/no-inferrable-types": [
|
271
|
+
ERROR,
|
272
|
+
{
|
273
|
+
ignoreParameters: false,
|
274
|
+
ignoreProperties: false,
|
275
|
+
},
|
276
|
+
],
|
277
|
+
"@typescript-eslint/no-invalid-void-type": [
|
278
|
+
ERROR,
|
279
|
+
{
|
280
|
+
allowInGenericTypeArguments: true,
|
281
|
+
allowAsThisParameter: false,
|
282
|
+
},
|
283
|
+
],
|
284
|
+
"@typescript-eslint/no-meaningless-void-operator": [
|
285
|
+
ERROR,
|
286
|
+
{ checkNever: true },
|
287
|
+
],
|
288
|
+
"@typescript-eslint/no-misused-new": ERROR,
|
289
|
+
"@typescript-eslint/no-misused-promises": [
|
290
|
+
ERROR,
|
291
|
+
{
|
292
|
+
checksConditionals: true,
|
293
|
+
checksSpreads: true,
|
294
|
+
checksVoidReturn: {
|
295
|
+
arguments: true,
|
296
|
+
attributes: true,
|
297
|
+
properties: true,
|
298
|
+
returns: true,
|
299
|
+
variables: true,
|
300
|
+
},
|
301
|
+
},
|
302
|
+
],
|
303
|
+
"@typescript-eslint/no-mixed-enums": ERROR,
|
304
|
+
"@typescript-eslint/no-namespace": OFF,
|
305
|
+
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": ERROR,
|
306
|
+
"@typescript-eslint/no-non-null-asserted-optional-chain": ERROR,
|
307
|
+
"@typescript-eslint/no-non-null-assertion": ERROR,
|
308
|
+
"@typescript-eslint/no-redundant-type-constituents": ERROR,
|
309
|
+
"@typescript-eslint/no-restricted-types": OFF,
|
310
|
+
"@typescript-eslint/no-require-imports": [
|
311
|
+
ERROR,
|
312
|
+
{ allow: [] },
|
313
|
+
],
|
314
|
+
"@typescript-eslint/no-this-alias": [
|
315
|
+
ERROR,
|
316
|
+
{
|
317
|
+
allowDestructuring: true,
|
318
|
+
allowedNames: [],
|
319
|
+
},
|
320
|
+
],
|
321
|
+
"@typescript-eslint/no-unnecessary-boolean-literal-compare": [
|
322
|
+
ERROR,
|
323
|
+
{
|
324
|
+
allowComparingNullableBooleansToTrue: true,
|
325
|
+
allowComparingNullableBooleansToFalse: true,
|
326
|
+
},
|
327
|
+
],
|
328
|
+
"@typescript-eslint/no-unnecessary-condition": [
|
329
|
+
ERROR,
|
330
|
+
{
|
331
|
+
allowConstantLoopConditions: false,
|
332
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
333
|
+
},
|
334
|
+
],
|
335
|
+
"@typescript-eslint/no-unnecessary-qualifier": ERROR,
|
336
|
+
"@typescript-eslint/no-unnecessary-template-expression": ERROR,
|
337
|
+
"@typescript-eslint/no-unnecessary-type-arguments": ERROR,
|
338
|
+
"@typescript-eslint/no-unnecessary-type-assertion": [
|
339
|
+
ERROR,
|
340
|
+
{ typesToIgnore: [] },
|
341
|
+
],
|
342
|
+
"@typescript-eslint/no-unnecessary-type-constraint": ERROR,
|
343
|
+
"@typescript-eslint/no-unnecessary-type-parameters": ERROR,
|
344
|
+
"@typescript-eslint/no-unsafe-argument": ERROR,
|
345
|
+
"@typescript-eslint/no-unsafe-assignment": ERROR,
|
346
|
+
"@typescript-eslint/no-unsafe-call": ERROR,
|
347
|
+
"@typescript-eslint/no-unsafe-declaration-merging": ERROR,
|
348
|
+
"@typescript-eslint/no-unsafe-enum-comparison": ERROR,
|
349
|
+
"@typescript-eslint/no-unsafe-function-type": ERROR,
|
350
|
+
"@typescript-eslint/no-unsafe-member-access": ERROR,
|
351
|
+
"@typescript-eslint/no-unsafe-return": ERROR,
|
352
|
+
"@typescript-eslint/no-unsafe-unary-minus": ERROR,
|
353
|
+
"@typescript-eslint/no-useless-empty-export": ERROR,
|
354
|
+
"@typescript-eslint/no-wrapper-object-types": ERROR,
|
355
|
+
"@typescript-eslint/no-var-requires": OFF,
|
356
|
+
"@typescript-eslint/non-nullable-type-assertion-style": OFF,
|
357
|
+
"@typescript-eslint/parameter-properties": [
|
358
|
+
ERROR,
|
359
|
+
{ prefer: "parameter-property" },
|
360
|
+
],
|
361
|
+
"@typescript-eslint/prefer-as-const": ERROR,
|
362
|
+
"@typescript-eslint/prefer-enum-initializers": ERROR,
|
363
|
+
"@typescript-eslint/prefer-find": ERROR,
|
364
|
+
"@typescript-eslint/prefer-for-of": ERROR,
|
365
|
+
"@typescript-eslint/prefer-function-type": ERROR,
|
366
|
+
"@typescript-eslint/prefer-includes": ERROR,
|
367
|
+
"@typescript-eslint/prefer-literal-enum-member": [
|
368
|
+
ERROR,
|
369
|
+
{ allowBitwiseExpressions: false },
|
370
|
+
],
|
371
|
+
"@typescript-eslint/prefer-namespace-keyword": ERROR,
|
372
|
+
"@typescript-eslint/prefer-nullish-coalescing": [
|
373
|
+
ERROR,
|
374
|
+
{
|
375
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
376
|
+
ignoreConditionalTests: false,
|
377
|
+
ignoreTernaryTests: false,
|
378
|
+
ignoreMixedLogicalExpressions: false,
|
379
|
+
ignorePrimitives: {
|
380
|
+
bigint: false,
|
381
|
+
"boolean": false,
|
382
|
+
number: false,
|
383
|
+
string: false,
|
384
|
+
},
|
385
|
+
},
|
386
|
+
],
|
387
|
+
"@typescript-eslint/prefer-optional-chain": [
|
388
|
+
ERROR,
|
389
|
+
{
|
390
|
+
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,
|
391
|
+
checkAny: true,
|
392
|
+
checkBigInt: true,
|
393
|
+
checkBoolean: true,
|
394
|
+
checkNumber: true,
|
395
|
+
checkString: true,
|
396
|
+
checkUnknown: true,
|
397
|
+
requireNullish: false,
|
398
|
+
},
|
399
|
+
],
|
400
|
+
"@typescript-eslint/prefer-readonly": [
|
401
|
+
ERROR,
|
402
|
+
{ onlyInlineLambdas: false },
|
403
|
+
],
|
404
|
+
"@typescript-eslint/prefer-readonly-parameter-types": OFF,
|
405
|
+
"@typescript-eslint/prefer-reduce-type-parameter": ERROR,
|
406
|
+
"@typescript-eslint/prefer-regexp-exec": ERROR,
|
407
|
+
"@typescript-eslint/prefer-return-this-type": ERROR,
|
408
|
+
"@typescript-eslint/prefer-string-starts-ends-with": [
|
409
|
+
ERROR,
|
410
|
+
{ allowSingleElementEquality: NEVER },
|
411
|
+
],
|
412
|
+
"@typescript-eslint/prefer-ts-expect-error": ERROR,
|
413
|
+
"@typescript-eslint/promise-function-async": [
|
414
|
+
ERROR,
|
415
|
+
{
|
416
|
+
allowAny: false,
|
417
|
+
allowedPromiseNames: [],
|
418
|
+
checkArrowFunctions: true,
|
419
|
+
checkFunctionDeclarations: true,
|
420
|
+
checkFunctionExpressions: true,
|
421
|
+
checkMethodDeclarations: true,
|
422
|
+
},
|
423
|
+
],
|
424
|
+
"@typescript-eslint/require-array-sort-compare": [
|
425
|
+
ERROR,
|
426
|
+
{ ignoreStringArrays: true },
|
427
|
+
],
|
428
|
+
"@typescript-eslint/restrict-plus-operands": [
|
429
|
+
ERROR,
|
430
|
+
{
|
431
|
+
allowAny: false,
|
432
|
+
allowBoolean: false,
|
433
|
+
allowNullish: false,
|
434
|
+
allowNumberAndString: false,
|
435
|
+
allowRegExp: false,
|
436
|
+
skipCompoundAssignments: false,
|
437
|
+
},
|
438
|
+
],
|
439
|
+
"@typescript-eslint/restrict-template-expressions": [
|
440
|
+
ERROR,
|
441
|
+
{
|
442
|
+
allowAny: true,
|
443
|
+
allowArray: true,
|
444
|
+
allowBoolean: true,
|
445
|
+
allowNullish: false,
|
446
|
+
allowNumber: true,
|
447
|
+
allowNever: false,
|
448
|
+
allowRegExp: false,
|
449
|
+
},
|
450
|
+
],
|
451
|
+
"@typescript-eslint/return-await": [
|
452
|
+
ERROR,
|
453
|
+
"in-try-catch",
|
454
|
+
],
|
455
|
+
"@typescript-eslint/strict-boolean-expressions": [
|
456
|
+
ERROR,
|
457
|
+
{
|
458
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
459
|
+
allowAny: false,
|
460
|
+
allowNumber: true,
|
461
|
+
allowString: false,
|
462
|
+
allowNullableBoolean: false,
|
463
|
+
allowNullableEnum: false,
|
464
|
+
allowNullableNumber: false,
|
465
|
+
allowNullableObject: false,
|
466
|
+
allowNullableString: false,
|
467
|
+
},
|
468
|
+
],
|
469
|
+
"@typescript-eslint/switch-exhaustiveness-check": [
|
470
|
+
ERROR,
|
471
|
+
{
|
472
|
+
allowDefaultCaseForExhaustiveSwitch: false,
|
473
|
+
requireDefaultForNonUnion: true,
|
474
|
+
},
|
475
|
+
],
|
476
|
+
"@typescript-eslint/triple-slash-reference": [
|
477
|
+
ERROR,
|
478
|
+
{
|
479
|
+
lib: NEVER,
|
480
|
+
path: NEVER,
|
481
|
+
types: NEVER,
|
482
|
+
},
|
483
|
+
],
|
484
|
+
"@typescript-eslint/typedef": OFF,
|
485
|
+
"@typescript-eslint/unbound-method": [
|
486
|
+
ERROR,
|
487
|
+
{ ignoreStatic: false },
|
488
|
+
],
|
489
|
+
"@typescript-eslint/unified-signatures": [
|
490
|
+
ERROR,
|
491
|
+
{ ignoreDifferentlyNamedParameters: false },
|
492
|
+
],
|
493
|
+
"@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
|
494
|
+
},
|
495
|
+
];
|
496
|
+
//# sourceMappingURL=Enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,MAAM,EAAE,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,GACN,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,MAAM;IACN;QAGE,iDAAiD,EAAE,GAAG;QACtD,+BAA+B,EAAE;YAC/B,KAAK;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BAAuB,EAAE,KAAK;aAC/B;SACF;QACD,kDAAkD,EAAE;YAClD,KAAK;YACL;gBACE,QAAQ,EAAE,IAAI;gBACd,UAAU,EAAE,IAAI;gBAChB,YAAY,EAAE,IAAI;gBAClB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,IAAI;gBACjB,UAAU,EAAE,KAAK;gBACjB,WAAW,EAAE,KAAK;aACnB;SACF;QACD,iCAAiC,EAAE;YACjC,KAAK;YACL,cAAc;SACf;QACD,+CAA+C,EAAE;YAC/C,KAAK;YACL;gBACE,sDAAsD,EAAE,KAAK;gBAC7D,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,IAAI;gBACjB,WAAW,EAAE,KAAK;gBAClB,oBAAoB,EAAE,KAAK;gBAC3B,iBAAiB,EAAE,KAAK;gBACxB,mBAAmB,EAAE,KAAK;gBAC1B,mBAAmB,EAAE,KAAK;gBAC1B,mBAAmB,EAAE,KAAK;aAC3B;SACF;QACD,gDAAgD,EAAE;YAChD,KAAK;YACL;gBACE,mCAAmC,EAAE,KAAK;gBAC1C,yBAAyB,EAAE,IAAI;aAChC;SACF;QACD,2CAA2C,EAAE;YAC3C,KAAK;YACL;gBACE,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;aACb;SACF;QACD,4BAA4B,EAAE,GAAG;QACjC,mCAAmC,EAAE;YACnC,KAAK;YACL,EAAE,YAAY,EAAE,KAAK,EAAE;SACxB;QACD,uCAAuC,EAAE;YACvC,KAAK;YACL,EAAE,gCAAgC,EAAE,KAAK,EAAE;SAC5C;QACD,2DAA2D,EAAE,KAAK;KACnE;CAC2B,CAAC"}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
declare const _default: readonly ["enable-extend", {
|
2
|
+
readonly "@typescript-eslint/class-methods-use-this": "off";
|
3
|
+
readonly "@typescript-eslint/consistent-return": "off";
|
4
|
+
readonly "@typescript-eslint/default-param-last": "error";
|
5
|
+
readonly "@typescript-eslint/dot-notation": readonly ["error", {
|
6
|
+
readonly allowKeywords: true;
|
7
|
+
readonly allowPrivateClassPropertyAccess: true;
|
8
|
+
readonly allowProtectedClassPropertyAccess: true;
|
9
|
+
readonly allowIndexSignaturePropertyAccess: true;
|
10
|
+
}];
|
11
|
+
readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
|
12
|
+
readonly "@typescript-eslint/max-params": "off";
|
13
|
+
readonly "@typescript-eslint/no-array-constructor": "error";
|
14
|
+
readonly "@typescript-eslint/no-dupe-class-members": "off";
|
15
|
+
readonly "@typescript-eslint/no-empty-function": readonly ["error", {
|
16
|
+
readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
|
17
|
+
}];
|
18
|
+
readonly "@typescript-eslint/no-implied-eval": "error";
|
19
|
+
readonly "@typescript-eslint/no-invalid-this": "off";
|
20
|
+
readonly "@typescript-eslint/no-loop-func": "error";
|
21
|
+
readonly "@typescript-eslint/no-magic-numbers": "off";
|
22
|
+
readonly "@typescript-eslint/no-redeclare": "off";
|
23
|
+
readonly "@typescript-eslint/no-restricted-imports": "off";
|
24
|
+
readonly "@typescript-eslint/no-shadow": "off";
|
25
|
+
readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
|
26
|
+
readonly allowShortCircuit: true;
|
27
|
+
readonly allowTernary: true;
|
28
|
+
readonly allowTaggedTemplates: true;
|
29
|
+
readonly enforceForJSX: false;
|
30
|
+
}];
|
31
|
+
readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
|
32
|
+
readonly vars: "all";
|
33
|
+
readonly args: "all";
|
34
|
+
readonly caughtErrors: "all";
|
35
|
+
readonly ignoreRestSiblings: false;
|
36
|
+
readonly ignoreClassWithStaticInitBlock: false;
|
37
|
+
readonly reportUsedIgnorePattern: true;
|
38
|
+
}];
|
39
|
+
readonly "@typescript-eslint/no-use-before-define": readonly ["error", {
|
40
|
+
readonly functions: true;
|
41
|
+
readonly classes: true;
|
42
|
+
readonly variables: true;
|
43
|
+
readonly allowNamedExports: false;
|
44
|
+
readonly enums: true;
|
45
|
+
readonly typedefs: false;
|
46
|
+
readonly ignoreTypeReferences: true;
|
47
|
+
}];
|
48
|
+
readonly "@typescript-eslint/no-useless-constructor": "error";
|
49
|
+
readonly "@typescript-eslint/only-throw-error": readonly ["error", {
|
50
|
+
readonly allowThrowingAny: false;
|
51
|
+
readonly allowThrowingUnknown: false;
|
52
|
+
}];
|
53
|
+
readonly "@typescript-eslint/prefer-destructuring": readonly ["error", {
|
54
|
+
readonly VariableDeclarator: {
|
55
|
+
readonly array: true;
|
56
|
+
readonly object: true;
|
57
|
+
};
|
58
|
+
readonly AssignmentExpression: {
|
59
|
+
readonly array: false;
|
60
|
+
readonly object: false;
|
61
|
+
};
|
62
|
+
}, {
|
63
|
+
readonly enforceForRenamedProperties: false;
|
64
|
+
readonly enforceForDeclarationWithTypeAnnotation: false;
|
65
|
+
}];
|
66
|
+
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly ["error", {
|
67
|
+
readonly allowEmptyReject: false;
|
68
|
+
}];
|
69
|
+
readonly "@typescript-eslint/require-await": "error";
|
70
|
+
}];
|
71
|
+
export default _default;
|
72
|
+
//# sourceMappingURL=EnableX.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/EnableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBA2G+B"}
|