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