@mado/oxlint 0.2.0 → 0.3.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.
@@ -1,253 +1 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/typescript.ts
21
- var typescript_exports = {};
22
- __export(typescript_exports, {
23
- default: () => typescript_default
24
- });
25
- module.exports = __toCommonJS(typescript_exports);
26
- var rules = {
27
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/adjacent-overload-signatures.html
28
- "typescript/adjacent-overload-signatures": "off",
29
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/array-type.html
30
- "typescript/array-type": "off",
31
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/await-thenable.html
32
- "typescript/await-thenable": "off",
33
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/ban-ts-comment.html
34
- "typescript/ban-ts-comment": "off",
35
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/ban-tslint-comment.html
36
- "typescript/ban-tslint-comment": "off",
37
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/ban-types.html
38
- "typescript/ban-types": "off",
39
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/class-literal-property-style.html
40
- "typescript/class-literal-property-style": "off",
41
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-generic-constructors.html
42
- "typescript/consistent-generic-constructors": "off",
43
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-indexed-object-style.html
44
- "typescript/consistent-indexed-object-style": "off",
45
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-return.html
46
- "typescript/consistent-return": "off",
47
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-type-assertions.html
48
- "typescript/consistent-type-assertions": "off",
49
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-type-definitions.html
50
- "typescript/consistent-type-definitions": "off",
51
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-type-exports.html
52
- "typescript/consistent-type-exports": "off",
53
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-type-imports.html
54
- "typescript/consistent-type-imports": "off",
55
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/dot-notation.html
56
- "typescript/dot-notation": "off",
57
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/explicit-function-return-type.html
58
- "typescript/explicit-function-return-type": "off",
59
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/explicit-member-accessibility.html
60
- "typescript/explicit-member-accessibility": "off",
61
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/explicit-module-boundary-types.html
62
- "typescript/explicit-module-boundary-types": "off",
63
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/method-signature-style.html
64
- "typescript/method-signature-style": "off",
65
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-array-delete.html
66
- "typescript/no-array-delete": "off",
67
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-base-to-string.html
68
- "typescript/no-base-to-string": "off",
69
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-confusing-non-null-assertion.html
70
- "typescript/no-confusing-non-null-assertion": "off",
71
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-confusing-void-expression.html
72
- "typescript/no-confusing-void-expression": "off",
73
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-deprecated.html
74
- "typescript/no-deprecated": "off",
75
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-duplicate-enum-values.html
76
- "typescript/no-duplicate-enum-values": "off",
77
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-duplicate-type-constituents.html
78
- "typescript/no-duplicate-type-constituents": "off",
79
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-dynamic-delete.html
80
- "typescript/no-dynamic-delete": "off",
81
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-empty-interface.html
82
- "typescript/no-empty-interface": "off",
83
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-empty-object-type.html
84
- "typescript/no-empty-object-type": "off",
85
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-explicit-any.html
86
- "typescript/no-explicit-any": "off",
87
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-extra-non-null-assertion.html
88
- "typescript/no-extra-non-null-assertion": "off",
89
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-extraneous-class.html
90
- "typescript/no-extraneous-class": "off",
91
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-floating-promises.html
92
- "typescript/no-floating-promises": "off",
93
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-for-in-array.html
94
- "typescript/no-for-in-array": "off",
95
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-generated-empty-object-type.html
96
- "typescript/no-generated-empty-object-type": "off",
97
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-implied-eval.html
98
- "typescript/no-implied-eval": "off",
99
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-import-type-side-effects.html
100
- "typescript/no-import-type-side-effects": "off",
101
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-inferrable-types.html
102
- "typescript/no-inferrable-types": "off",
103
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-invalid-void-type.html
104
- "typescript/no-invalid-void-type": "off",
105
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-meaningless-void-operator.html
106
- "typescript/no-meaningless-void-operator": "off",
107
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-misused-new.html
108
- "typescript/no-misused-new": "off",
109
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-misused-promises.html
110
- "typescript/no-misused-promises": "off",
111
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-misused-spread.html
112
- "typescript/no-misused-spread": "off",
113
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-mixed-enums.html
114
- "typescript/no-mixed-enums": "off",
115
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-namespace.html
116
- "typescript/no-namespace": "off",
117
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-nullish-coalescing.html
118
- "typescript/no-non-null-asserted-nullish-coalescing": "off",
119
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-optional-chain.html
120
- "typescript/no-non-null-asserted-optional-chain": "off",
121
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-non-null-assertion.html
122
- "typescript/no-non-null-assertion": "off",
123
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-redundant-type-constituents.html
124
- "typescript/no-redundant-type-constituents": "off",
125
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-require-imports.html
126
- "typescript/no-require-imports": "off",
127
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-restricted-types.html
128
- "typescript/no-restricted-types": "off",
129
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-this-alias.html
130
- "typescript/no-this-alias": "off",
131
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-boolean-literal-compare.html
132
- "typescript/no-unnecessary-boolean-literal-compare": "off",
133
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-condition.html
134
- "typescript/no-unnecessary-condition": "off",
135
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment.html
136
- "typescript/no-unnecessary-parameter-property-assignment": "off",
137
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-qualifier.html
138
- "typescript/no-unnecessary-qualifier": "off",
139
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-template-expression.html
140
- "typescript/no-unnecessary-template-expression": "off",
141
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-arguments.html
142
- "typescript/no-unnecessary-type-arguments": "off",
143
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-assertion.html
144
- "typescript/no-unnecessary-type-assertion": "off",
145
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-constraint.html
146
- "typescript/no-unnecessary-type-constraint": "off",
147
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-conversion.html
148
- "typescript/no-unnecessary-type-conversion": "off",
149
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-parameters.html
150
- "typescript/no-unnecessary-type-parameters": "off",
151
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-argument.html
152
- "typescript/no-unsafe-argument": "off",
153
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-assignment.html
154
- "typescript/no-unsafe-assignment": "off",
155
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-call.html
156
- "typescript/no-unsafe-call": "off",
157
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-declaration-merging.html
158
- "typescript/no-unsafe-declaration-merging": "off",
159
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-enum-comparison.html
160
- "typescript/no-unsafe-enum-comparison": "off",
161
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-function-type.html
162
- "typescript/no-unsafe-function-type": "off",
163
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-member-access.html
164
- "typescript/no-unsafe-member-access": "off",
165
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-return.html
166
- "typescript/no-unsafe-return": "off",
167
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-type-assertion.html
168
- "typescript/no-unsafe-type-assertion": "off",
169
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-unary-minus.html
170
- "typescript/no-unsafe-unary-minus": "off",
171
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-useless-default-assignment.html
172
- "typescript/no-useless-default-assignment": "off",
173
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-useless-empty-export.html
174
- "typescript/no-useless-empty-export": "off",
175
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-var-requires.html
176
- "typescript/no-var-requires": "off",
177
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-wrapper-object-types.html
178
- "typescript/no-wrapper-object-types": "off",
179
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/non-nullable-type-assertion-style.html
180
- "typescript/non-nullable-type-assertion-style": "off",
181
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/only-throw-error.html
182
- "typescript/only-throw-error": "off",
183
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/parameter-properties.html
184
- "typescript/parameter-properties": "off",
185
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-as-const.html
186
- "typescript/prefer-as-const": "off",
187
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-enum-initializers.html
188
- "typescript/prefer-enum-initializers": "off",
189
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-find.html
190
- "typescript/prefer-find": "off",
191
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-for-of.html
192
- "typescript/prefer-for-of": "off",
193
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-function-type.html
194
- "typescript/prefer-function-type": "off",
195
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-includes.html
196
- "typescript/prefer-includes": "off",
197
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-literal-enum-member.html
198
- "typescript/prefer-literal-enum-member": "off",
199
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-namespace-keyword.html
200
- "typescript/prefer-namespace-keyword": "off",
201
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-nullish-coalescing.html
202
- "typescript/prefer-nullish-coalescing": "off",
203
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-optional-chain.html
204
- "typescript/prefer-optional-chain": "off",
205
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-promise-reject-errors.html
206
- "typescript/prefer-promise-reject-errors": "off",
207
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-readonly.html
208
- "typescript/prefer-readonly": "off",
209
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-readonly-parameter-types.html
210
- "typescript/prefer-readonly-parameter-types": "off",
211
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-reduce-type-parameter.html
212
- "typescript/prefer-reduce-type-parameter": "off",
213
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-regexp-exec.html
214
- "typescript/prefer-regexp-exec": "off",
215
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-return-this-type.html
216
- "typescript/prefer-return-this-type": "off",
217
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-string-starts-ends-with.html
218
- "typescript/prefer-string-starts-ends-with": "off",
219
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-ts-expect-error.html
220
- "typescript/prefer-ts-expect-error": "off",
221
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/promise-function-async.html
222
- "typescript/promise-function-async": "off",
223
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/related-getter-setter-pairs.html
224
- "typescript/related-getter-setter-pairs": "off",
225
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/require-array-sort-compare.html
226
- "typescript/require-array-sort-compare": "off",
227
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/require-await.html
228
- "typescript/require-await": "off",
229
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/restrict-plus-operands.html
230
- "typescript/restrict-plus-operands": "off",
231
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/restrict-template-expressions.html
232
- "typescript/restrict-template-expressions": "off",
233
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/return-await.html
234
- "typescript/return-await": "off",
235
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/strict-boolean-expressions.html
236
- "typescript/strict-boolean-expressions": "off",
237
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/strict-void-return.html
238
- "typescript/strict-void-return": "off",
239
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/switch-exhaustiveness-check.html
240
- "typescript/switch-exhaustiveness-check": "off",
241
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/triple-slash-reference.html
242
- "typescript/triple-slash-reference": "off",
243
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/unbound-method.html
244
- "typescript/unbound-method": "off",
245
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/unified-signatures.html
246
- "typescript/unified-signatures": "off",
247
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/use-unknown-in-catch-callback-variable.html
248
- "typescript/use-unknown-in-catch-callback-variable": "off"
249
- };
250
- var typescript_default = {
251
- plugins: ["typescript"],
252
- rules
253
- };
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:true});const rules={"typescript/adjacent-overload-signatures":"off","typescript/array-type":"off","typescript/await-thenable":"off","typescript/ban-ts-comment":"off","typescript/ban-tslint-comment":"off","typescript/ban-types":"off","typescript/class-literal-property-style":"off","typescript/consistent-generic-constructors":"off","typescript/consistent-indexed-object-style":"off","typescript/consistent-return":"off","typescript/consistent-type-assertions":"off","typescript/consistent-type-definitions":"off","typescript/consistent-type-exports":"off","typescript/consistent-type-imports":"off","typescript/dot-notation":"off","typescript/explicit-function-return-type":"off","typescript/explicit-member-accessibility":"off","typescript/explicit-module-boundary-types":"off","typescript/method-signature-style":"off","typescript/no-array-delete":"off","typescript/no-base-to-string":"off","typescript/no-confusing-non-null-assertion":"off","typescript/no-confusing-void-expression":"off","typescript/no-deprecated":"off","typescript/no-duplicate-enum-values":"off","typescript/no-duplicate-type-constituents":"off","typescript/no-dynamic-delete":"off","typescript/no-empty-interface":"off","typescript/no-empty-object-type":"off","typescript/no-explicit-any":"off","typescript/no-extra-non-null-assertion":"off","typescript/no-extraneous-class":"off","typescript/no-floating-promises":"off","typescript/no-for-in-array":"off","typescript/no-generated-empty-object-type":"off","typescript/no-implied-eval":"off","typescript/no-import-type-side-effects":"off","typescript/no-inferrable-types":"off","typescript/no-invalid-void-type":"off","typescript/no-meaningless-void-operator":"off","typescript/no-misused-new":"off","typescript/no-misused-promises":"off","typescript/no-misused-spread":"off","typescript/no-mixed-enums":"off","typescript/no-namespace":"off","typescript/no-non-null-asserted-nullish-coalescing":"off","typescript/no-non-null-asserted-optional-chain":"off","typescript/no-non-null-assertion":"off","typescript/no-redundant-type-constituents":"off","typescript/no-require-imports":"off","typescript/no-restricted-types":"off","typescript/no-this-alias":"off","typescript/no-unnecessary-boolean-literal-compare":"off","typescript/no-unnecessary-condition":"off","typescript/no-unnecessary-parameter-property-assignment":"off","typescript/no-unnecessary-qualifier":"off","typescript/no-unnecessary-template-expression":"off","typescript/no-unnecessary-type-arguments":"off","typescript/no-unnecessary-type-assertion":"off","typescript/no-unnecessary-type-constraint":"off","typescript/no-unnecessary-type-conversion":"off","typescript/no-unnecessary-type-parameters":"off","typescript/no-unsafe-argument":"off","typescript/no-unsafe-assignment":"off","typescript/no-unsafe-call":"off","typescript/no-unsafe-declaration-merging":"off","typescript/no-unsafe-enum-assignment":"off","typescript/no-unsafe-enum-comparison":"off","typescript/no-unsafe-function-type":"off","typescript/no-unsafe-member-access":"off","typescript/no-unsafe-return":"off","typescript/no-unsafe-type-assertion":"off","typescript/no-unsafe-unary-minus":"off","typescript/no-useless-default-assignment":"off","typescript/no-useless-empty-export":"off","typescript/no-var-requires":"off","typescript/no-wrapper-object-types":"off","typescript/non-nullable-type-assertion-style":"off","typescript/only-throw-error":"off","typescript/parameter-properties":"off","typescript/prefer-as-const":"off","typescript/prefer-enum-initializers":"off","typescript/prefer-find":"off","typescript/prefer-for-of":"off","typescript/prefer-function-type":"off","typescript/prefer-includes":"off","typescript/prefer-literal-enum-member":"off","typescript/prefer-namespace-keyword":"off","typescript/prefer-nullish-coalescing":"off","typescript/prefer-optional-chain":"off","typescript/prefer-promise-reject-errors":"off","typescript/prefer-readonly":"off","typescript/prefer-readonly-parameter-types":"off","typescript/prefer-reduce-type-parameter":"off","typescript/prefer-regexp-exec":"off","typescript/prefer-return-this-type":"off","typescript/prefer-string-starts-ends-with":"off","typescript/prefer-ts-expect-error":"off","typescript/promise-function-async":"off","typescript/related-getter-setter-pairs":"off","typescript/require-array-sort-compare":"off","typescript/require-await":"off","typescript/restrict-plus-operands":"off","typescript/restrict-template-expressions":"off","typescript/return-await":"off","typescript/strict-boolean-expressions":"off","typescript/strict-void-return":"off","typescript/switch-exhaustiveness-check":"off","typescript/triple-slash-reference":"off","typescript/unbound-method":"off","typescript/unified-signatures":"off","typescript/use-unknown-in-catch-callback-variable":"off"};var typescript={plugins:["typescript"],rules:rules};exports.default=typescript;
@@ -1,232 +1 @@
1
- // src/typescript.ts
2
- var rules = {
3
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/adjacent-overload-signatures.html
4
- "typescript/adjacent-overload-signatures": "off",
5
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/array-type.html
6
- "typescript/array-type": "off",
7
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/await-thenable.html
8
- "typescript/await-thenable": "off",
9
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/ban-ts-comment.html
10
- "typescript/ban-ts-comment": "off",
11
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/ban-tslint-comment.html
12
- "typescript/ban-tslint-comment": "off",
13
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/ban-types.html
14
- "typescript/ban-types": "off",
15
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/class-literal-property-style.html
16
- "typescript/class-literal-property-style": "off",
17
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-generic-constructors.html
18
- "typescript/consistent-generic-constructors": "off",
19
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-indexed-object-style.html
20
- "typescript/consistent-indexed-object-style": "off",
21
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-return.html
22
- "typescript/consistent-return": "off",
23
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-type-assertions.html
24
- "typescript/consistent-type-assertions": "off",
25
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-type-definitions.html
26
- "typescript/consistent-type-definitions": "off",
27
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-type-exports.html
28
- "typescript/consistent-type-exports": "off",
29
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/consistent-type-imports.html
30
- "typescript/consistent-type-imports": "off",
31
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/dot-notation.html
32
- "typescript/dot-notation": "off",
33
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/explicit-function-return-type.html
34
- "typescript/explicit-function-return-type": "off",
35
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/explicit-member-accessibility.html
36
- "typescript/explicit-member-accessibility": "off",
37
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/explicit-module-boundary-types.html
38
- "typescript/explicit-module-boundary-types": "off",
39
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/method-signature-style.html
40
- "typescript/method-signature-style": "off",
41
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-array-delete.html
42
- "typescript/no-array-delete": "off",
43
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-base-to-string.html
44
- "typescript/no-base-to-string": "off",
45
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-confusing-non-null-assertion.html
46
- "typescript/no-confusing-non-null-assertion": "off",
47
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-confusing-void-expression.html
48
- "typescript/no-confusing-void-expression": "off",
49
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-deprecated.html
50
- "typescript/no-deprecated": "off",
51
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-duplicate-enum-values.html
52
- "typescript/no-duplicate-enum-values": "off",
53
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-duplicate-type-constituents.html
54
- "typescript/no-duplicate-type-constituents": "off",
55
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-dynamic-delete.html
56
- "typescript/no-dynamic-delete": "off",
57
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-empty-interface.html
58
- "typescript/no-empty-interface": "off",
59
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-empty-object-type.html
60
- "typescript/no-empty-object-type": "off",
61
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-explicit-any.html
62
- "typescript/no-explicit-any": "off",
63
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-extra-non-null-assertion.html
64
- "typescript/no-extra-non-null-assertion": "off",
65
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-extraneous-class.html
66
- "typescript/no-extraneous-class": "off",
67
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-floating-promises.html
68
- "typescript/no-floating-promises": "off",
69
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-for-in-array.html
70
- "typescript/no-for-in-array": "off",
71
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-generated-empty-object-type.html
72
- "typescript/no-generated-empty-object-type": "off",
73
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-implied-eval.html
74
- "typescript/no-implied-eval": "off",
75
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-import-type-side-effects.html
76
- "typescript/no-import-type-side-effects": "off",
77
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-inferrable-types.html
78
- "typescript/no-inferrable-types": "off",
79
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-invalid-void-type.html
80
- "typescript/no-invalid-void-type": "off",
81
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-meaningless-void-operator.html
82
- "typescript/no-meaningless-void-operator": "off",
83
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-misused-new.html
84
- "typescript/no-misused-new": "off",
85
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-misused-promises.html
86
- "typescript/no-misused-promises": "off",
87
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-misused-spread.html
88
- "typescript/no-misused-spread": "off",
89
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-mixed-enums.html
90
- "typescript/no-mixed-enums": "off",
91
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-namespace.html
92
- "typescript/no-namespace": "off",
93
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-nullish-coalescing.html
94
- "typescript/no-non-null-asserted-nullish-coalescing": "off",
95
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-non-null-asserted-optional-chain.html
96
- "typescript/no-non-null-asserted-optional-chain": "off",
97
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-non-null-assertion.html
98
- "typescript/no-non-null-assertion": "off",
99
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-redundant-type-constituents.html
100
- "typescript/no-redundant-type-constituents": "off",
101
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-require-imports.html
102
- "typescript/no-require-imports": "off",
103
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-restricted-types.html
104
- "typescript/no-restricted-types": "off",
105
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-this-alias.html
106
- "typescript/no-this-alias": "off",
107
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-boolean-literal-compare.html
108
- "typescript/no-unnecessary-boolean-literal-compare": "off",
109
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-condition.html
110
- "typescript/no-unnecessary-condition": "off",
111
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment.html
112
- "typescript/no-unnecessary-parameter-property-assignment": "off",
113
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-qualifier.html
114
- "typescript/no-unnecessary-qualifier": "off",
115
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-template-expression.html
116
- "typescript/no-unnecessary-template-expression": "off",
117
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-arguments.html
118
- "typescript/no-unnecessary-type-arguments": "off",
119
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-assertion.html
120
- "typescript/no-unnecessary-type-assertion": "off",
121
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-constraint.html
122
- "typescript/no-unnecessary-type-constraint": "off",
123
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-conversion.html
124
- "typescript/no-unnecessary-type-conversion": "off",
125
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-parameters.html
126
- "typescript/no-unnecessary-type-parameters": "off",
127
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-argument.html
128
- "typescript/no-unsafe-argument": "off",
129
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-assignment.html
130
- "typescript/no-unsafe-assignment": "off",
131
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-call.html
132
- "typescript/no-unsafe-call": "off",
133
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-declaration-merging.html
134
- "typescript/no-unsafe-declaration-merging": "off",
135
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-enum-comparison.html
136
- "typescript/no-unsafe-enum-comparison": "off",
137
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-function-type.html
138
- "typescript/no-unsafe-function-type": "off",
139
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-member-access.html
140
- "typescript/no-unsafe-member-access": "off",
141
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-return.html
142
- "typescript/no-unsafe-return": "off",
143
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-type-assertion.html
144
- "typescript/no-unsafe-type-assertion": "off",
145
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-unary-minus.html
146
- "typescript/no-unsafe-unary-minus": "off",
147
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-useless-default-assignment.html
148
- "typescript/no-useless-default-assignment": "off",
149
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-useless-empty-export.html
150
- "typescript/no-useless-empty-export": "off",
151
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-var-requires.html
152
- "typescript/no-var-requires": "off",
153
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-wrapper-object-types.html
154
- "typescript/no-wrapper-object-types": "off",
155
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/non-nullable-type-assertion-style.html
156
- "typescript/non-nullable-type-assertion-style": "off",
157
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/only-throw-error.html
158
- "typescript/only-throw-error": "off",
159
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/parameter-properties.html
160
- "typescript/parameter-properties": "off",
161
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-as-const.html
162
- "typescript/prefer-as-const": "off",
163
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-enum-initializers.html
164
- "typescript/prefer-enum-initializers": "off",
165
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-find.html
166
- "typescript/prefer-find": "off",
167
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-for-of.html
168
- "typescript/prefer-for-of": "off",
169
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-function-type.html
170
- "typescript/prefer-function-type": "off",
171
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-includes.html
172
- "typescript/prefer-includes": "off",
173
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-literal-enum-member.html
174
- "typescript/prefer-literal-enum-member": "off",
175
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-namespace-keyword.html
176
- "typescript/prefer-namespace-keyword": "off",
177
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-nullish-coalescing.html
178
- "typescript/prefer-nullish-coalescing": "off",
179
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-optional-chain.html
180
- "typescript/prefer-optional-chain": "off",
181
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-promise-reject-errors.html
182
- "typescript/prefer-promise-reject-errors": "off",
183
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-readonly.html
184
- "typescript/prefer-readonly": "off",
185
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-readonly-parameter-types.html
186
- "typescript/prefer-readonly-parameter-types": "off",
187
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-reduce-type-parameter.html
188
- "typescript/prefer-reduce-type-parameter": "off",
189
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-regexp-exec.html
190
- "typescript/prefer-regexp-exec": "off",
191
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-return-this-type.html
192
- "typescript/prefer-return-this-type": "off",
193
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-string-starts-ends-with.html
194
- "typescript/prefer-string-starts-ends-with": "off",
195
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-ts-expect-error.html
196
- "typescript/prefer-ts-expect-error": "off",
197
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/promise-function-async.html
198
- "typescript/promise-function-async": "off",
199
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/related-getter-setter-pairs.html
200
- "typescript/related-getter-setter-pairs": "off",
201
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/require-array-sort-compare.html
202
- "typescript/require-array-sort-compare": "off",
203
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/require-await.html
204
- "typescript/require-await": "off",
205
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/restrict-plus-operands.html
206
- "typescript/restrict-plus-operands": "off",
207
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/restrict-template-expressions.html
208
- "typescript/restrict-template-expressions": "off",
209
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/return-await.html
210
- "typescript/return-await": "off",
211
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/strict-boolean-expressions.html
212
- "typescript/strict-boolean-expressions": "off",
213
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/strict-void-return.html
214
- "typescript/strict-void-return": "off",
215
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/switch-exhaustiveness-check.html
216
- "typescript/switch-exhaustiveness-check": "off",
217
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/triple-slash-reference.html
218
- "typescript/triple-slash-reference": "off",
219
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/unbound-method.html
220
- "typescript/unbound-method": "off",
221
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/unified-signatures.html
222
- "typescript/unified-signatures": "off",
223
- // https://oxc.rs/docs/guide/usage/linter/rules/typescript/use-unknown-in-catch-callback-variable.html
224
- "typescript/use-unknown-in-catch-callback-variable": "off"
225
- };
226
- var typescript_default = {
227
- plugins: ["typescript"],
228
- rules
229
- };
230
- export {
231
- typescript_default as default
232
- };
1
+ const rules={"typescript/adjacent-overload-signatures":"off","typescript/array-type":"off","typescript/await-thenable":"off","typescript/ban-ts-comment":"off","typescript/ban-tslint-comment":"off","typescript/ban-types":"off","typescript/class-literal-property-style":"off","typescript/consistent-generic-constructors":"off","typescript/consistent-indexed-object-style":"off","typescript/consistent-return":"off","typescript/consistent-type-assertions":"off","typescript/consistent-type-definitions":"off","typescript/consistent-type-exports":"off","typescript/consistent-type-imports":"off","typescript/dot-notation":"off","typescript/explicit-function-return-type":"off","typescript/explicit-member-accessibility":"off","typescript/explicit-module-boundary-types":"off","typescript/method-signature-style":"off","typescript/no-array-delete":"off","typescript/no-base-to-string":"off","typescript/no-confusing-non-null-assertion":"off","typescript/no-confusing-void-expression":"off","typescript/no-deprecated":"off","typescript/no-duplicate-enum-values":"off","typescript/no-duplicate-type-constituents":"off","typescript/no-dynamic-delete":"off","typescript/no-empty-interface":"off","typescript/no-empty-object-type":"off","typescript/no-explicit-any":"off","typescript/no-extra-non-null-assertion":"off","typescript/no-extraneous-class":"off","typescript/no-floating-promises":"off","typescript/no-for-in-array":"off","typescript/no-generated-empty-object-type":"off","typescript/no-implied-eval":"off","typescript/no-import-type-side-effects":"off","typescript/no-inferrable-types":"off","typescript/no-invalid-void-type":"off","typescript/no-meaningless-void-operator":"off","typescript/no-misused-new":"off","typescript/no-misused-promises":"off","typescript/no-misused-spread":"off","typescript/no-mixed-enums":"off","typescript/no-namespace":"off","typescript/no-non-null-asserted-nullish-coalescing":"off","typescript/no-non-null-asserted-optional-chain":"off","typescript/no-non-null-assertion":"off","typescript/no-redundant-type-constituents":"off","typescript/no-require-imports":"off","typescript/no-restricted-types":"off","typescript/no-this-alias":"off","typescript/no-unnecessary-boolean-literal-compare":"off","typescript/no-unnecessary-condition":"off","typescript/no-unnecessary-parameter-property-assignment":"off","typescript/no-unnecessary-qualifier":"off","typescript/no-unnecessary-template-expression":"off","typescript/no-unnecessary-type-arguments":"off","typescript/no-unnecessary-type-assertion":"off","typescript/no-unnecessary-type-constraint":"off","typescript/no-unnecessary-type-conversion":"off","typescript/no-unnecessary-type-parameters":"off","typescript/no-unsafe-argument":"off","typescript/no-unsafe-assignment":"off","typescript/no-unsafe-call":"off","typescript/no-unsafe-declaration-merging":"off","typescript/no-unsafe-enum-assignment":"off","typescript/no-unsafe-enum-comparison":"off","typescript/no-unsafe-function-type":"off","typescript/no-unsafe-member-access":"off","typescript/no-unsafe-return":"off","typescript/no-unsafe-type-assertion":"off","typescript/no-unsafe-unary-minus":"off","typescript/no-useless-default-assignment":"off","typescript/no-useless-empty-export":"off","typescript/no-var-requires":"off","typescript/no-wrapper-object-types":"off","typescript/non-nullable-type-assertion-style":"off","typescript/only-throw-error":"off","typescript/parameter-properties":"off","typescript/prefer-as-const":"off","typescript/prefer-enum-initializers":"off","typescript/prefer-find":"off","typescript/prefer-for-of":"off","typescript/prefer-function-type":"off","typescript/prefer-includes":"off","typescript/prefer-literal-enum-member":"off","typescript/prefer-namespace-keyword":"off","typescript/prefer-nullish-coalescing":"off","typescript/prefer-optional-chain":"off","typescript/prefer-promise-reject-errors":"off","typescript/prefer-readonly":"off","typescript/prefer-readonly-parameter-types":"off","typescript/prefer-reduce-type-parameter":"off","typescript/prefer-regexp-exec":"off","typescript/prefer-return-this-type":"off","typescript/prefer-string-starts-ends-with":"off","typescript/prefer-ts-expect-error":"off","typescript/promise-function-async":"off","typescript/related-getter-setter-pairs":"off","typescript/require-array-sort-compare":"off","typescript/require-await":"off","typescript/restrict-plus-operands":"off","typescript/restrict-template-expressions":"off","typescript/return-await":"off","typescript/strict-boolean-expressions":"off","typescript/strict-void-return":"off","typescript/switch-exhaustiveness-check":"off","typescript/triple-slash-reference":"off","typescript/unbound-method":"off","typescript/unified-signatures":"off","typescript/use-unknown-in-catch-callback-variable":"off"};var typescript={plugins:["typescript"],rules:rules};export{typescript as default};