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