@mado/oxlint 0.2.1 → 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.
- package/CHANGELOG.md +6 -0
- package/dist/eslint.cjs +1 -386
- package/dist/eslint.js +1 -382
- package/dist/import.cjs +1 -78
- package/dist/import.js +1 -74
- package/dist/index.cjs +1 -22
- package/dist/index.js +1 -18
- package/dist/jest.cjs +1 -132
- package/dist/jest.js +1 -128
- package/dist/jsdoc.cjs +1 -58
- package/dist/jsdoc.js +1 -54
- package/dist/jsx-a11y.cjs +1 -84
- package/dist/jsx-a11y.js +1 -80
- package/dist/nextjs.cjs +1 -54
- package/dist/nextjs.js +1 -50
- package/dist/node.cjs +1 -34
- package/dist/node.js +1 -30
- package/dist/oxc.cjs +1 -66
- package/dist/oxc.js +1 -62
- package/dist/promise.cjs +1 -44
- package/dist/promise.js +1 -40
- package/dist/react-perf.cjs +1 -20
- package/dist/react-perf.js +1 -16
- package/dist/react.cjs +1 -182
- package/dist/react.js +1 -178
- package/dist/typescript.cjs +1 -234
- package/dist/typescript.js +1 -230
- package/dist/unicorn.cjs +1 -288
- package/dist/unicorn.js +1 -284
- package/dist/vitest.cjs +1 -158
- package/dist/vitest.js +1 -154
- package/dist/vue.cjs +1 -104
- package/dist/vue.js +1 -100
- package/package.json +5 -5
package/dist/unicorn.js
CHANGED
|
@@ -1,284 +1 @@
|
|
|
1
|
-
const rules =
|
|
2
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/catch-error-name.html
|
|
3
|
-
'unicorn/catch-error-name': 'off',
|
|
4
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-assert.html
|
|
5
|
-
'unicorn/consistent-assert': 'off',
|
|
6
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-date-clone.html
|
|
7
|
-
'unicorn/consistent-date-clone': 'off',
|
|
8
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-empty-array-spread.html
|
|
9
|
-
'unicorn/consistent-empty-array-spread': 'off',
|
|
10
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-existence-index-check.html
|
|
11
|
-
'unicorn/consistent-existence-index-check': 'off',
|
|
12
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-function-scoping.html
|
|
13
|
-
'unicorn/consistent-function-scoping': 'off',
|
|
14
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-template-literal-escape.html
|
|
15
|
-
'unicorn/consistent-template-literal-escape': 'off',
|
|
16
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/custom-error-definition.html
|
|
17
|
-
'unicorn/custom-error-definition': 'off',
|
|
18
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/empty-brace-spaces.html
|
|
19
|
-
'unicorn/empty-brace-spaces': 'off',
|
|
20
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/error-message.html
|
|
21
|
-
'unicorn/error-message': 'off',
|
|
22
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/escape-case.html
|
|
23
|
-
'unicorn/escape-case': 'off',
|
|
24
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/explicit-length-check.html
|
|
25
|
-
'unicorn/explicit-length-check': 'off',
|
|
26
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/explicit-timer-delay.html
|
|
27
|
-
'unicorn/explicit-timer-delay': 'off',
|
|
28
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/filename-case.html
|
|
29
|
-
'unicorn/filename-case': 'off',
|
|
30
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/import-style.html
|
|
31
|
-
'unicorn/import-style': 'off',
|
|
32
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/max-nested-calls.html
|
|
33
|
-
'unicorn/max-nested-calls': 'off',
|
|
34
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/new-for-builtins.html
|
|
35
|
-
'unicorn/new-for-builtins': 'off',
|
|
36
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-abusive-eslint-disable.html
|
|
37
|
-
'unicorn/no-abusive-eslint-disable': 'off',
|
|
38
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-accessor-recursion.html
|
|
39
|
-
'unicorn/no-accessor-recursion': 'off',
|
|
40
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-anonymous-default-export.html
|
|
41
|
-
'unicorn/no-anonymous-default-export': 'off',
|
|
42
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-callback-reference.html
|
|
43
|
-
'unicorn/no-array-callback-reference': 'off',
|
|
44
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-fill-with-reference-type.html
|
|
45
|
-
'unicorn/no-array-fill-with-reference-type': 'off',
|
|
46
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-for-each.html
|
|
47
|
-
'unicorn/no-array-for-each': 'off',
|
|
48
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-method-this-argument.html
|
|
49
|
-
'unicorn/no-array-method-this-argument': 'off',
|
|
50
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-reduce.html
|
|
51
|
-
'unicorn/no-array-reduce': 'off',
|
|
52
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-reverse.html
|
|
53
|
-
'unicorn/no-array-reverse': 'off',
|
|
54
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-sort.html
|
|
55
|
-
'unicorn/no-array-sort': 'off',
|
|
56
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-await-expression-member.html
|
|
57
|
-
'unicorn/no-await-expression-member': 'off',
|
|
58
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-await-in-promise-methods.html
|
|
59
|
-
'unicorn/no-await-in-promise-methods': 'off',
|
|
60
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-confusing-array-with.html
|
|
61
|
-
'unicorn/no-confusing-array-with': 'off',
|
|
62
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-console-spaces.html
|
|
63
|
-
'unicorn/no-console-spaces': 'off',
|
|
64
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-document-cookie.html
|
|
65
|
-
'unicorn/no-document-cookie': 'off',
|
|
66
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-empty-file.html
|
|
67
|
-
'unicorn/no-empty-file': 'off',
|
|
68
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-hex-escape.html
|
|
69
|
-
'unicorn/no-hex-escape': 'off',
|
|
70
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-immediate-mutation.html
|
|
71
|
-
'unicorn/no-immediate-mutation': 'off',
|
|
72
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-instanceof-array.html
|
|
73
|
-
'unicorn/no-instanceof-array': 'off',
|
|
74
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-instanceof-builtins.html
|
|
75
|
-
'unicorn/no-instanceof-builtins': 'off',
|
|
76
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-invalid-fetch-options.html
|
|
77
|
-
'unicorn/no-invalid-fetch-options': 'off',
|
|
78
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-invalid-remove-event-listener.html
|
|
79
|
-
'unicorn/no-invalid-remove-event-listener': 'off',
|
|
80
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-length-as-slice-end.html
|
|
81
|
-
'unicorn/no-length-as-slice-end': 'off',
|
|
82
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-lonely-if.html
|
|
83
|
-
'unicorn/no-lonely-if': 'off',
|
|
84
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-magic-array-flat-depth.html
|
|
85
|
-
'unicorn/no-magic-array-flat-depth': 'off',
|
|
86
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-negated-condition.html
|
|
87
|
-
'unicorn/no-negated-condition': 'off',
|
|
88
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-negation-in-equality-check.html
|
|
89
|
-
'unicorn/no-negation-in-equality-check': 'off',
|
|
90
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-nested-ternary.html
|
|
91
|
-
'unicorn/no-nested-ternary': 'off',
|
|
92
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-new-array.html
|
|
93
|
-
'unicorn/no-new-array': 'off',
|
|
94
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-new-buffer.html
|
|
95
|
-
'unicorn/no-new-buffer': 'off',
|
|
96
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-null.html
|
|
97
|
-
'unicorn/no-null': 'off',
|
|
98
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-object-as-default-parameter.html
|
|
99
|
-
'unicorn/no-object-as-default-parameter': 'off',
|
|
100
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-process-exit.html
|
|
101
|
-
'unicorn/no-process-exit': 'off',
|
|
102
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-single-promise-in-promise-methods.html
|
|
103
|
-
'unicorn/no-single-promise-in-promise-methods': 'off',
|
|
104
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-static-only-class.html
|
|
105
|
-
'unicorn/no-static-only-class': 'off',
|
|
106
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-thenable.html
|
|
107
|
-
'unicorn/no-thenable': 'off',
|
|
108
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-this-assignment.html
|
|
109
|
-
'unicorn/no-this-assignment': 'off',
|
|
110
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-typeof-undefined.html
|
|
111
|
-
'unicorn/no-typeof-undefined': 'off',
|
|
112
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unnecessary-array-flat-depth.html
|
|
113
|
-
'unicorn/no-unnecessary-array-flat-depth': 'off',
|
|
114
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unnecessary-array-splice-count.html
|
|
115
|
-
'unicorn/no-unnecessary-array-splice-count': 'off',
|
|
116
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unnecessary-await.html
|
|
117
|
-
'unicorn/no-unnecessary-await': 'off',
|
|
118
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unnecessary-slice-end.html
|
|
119
|
-
'unicorn/no-unnecessary-slice-end': 'off',
|
|
120
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unreadable-array-destructuring.html
|
|
121
|
-
'unicorn/no-unreadable-array-destructuring': 'off',
|
|
122
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unreadable-iife.html
|
|
123
|
-
'unicorn/no-unreadable-iife': 'off',
|
|
124
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-collection-argument.html
|
|
125
|
-
'unicorn/no-useless-collection-argument': 'off',
|
|
126
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-error-capture-stack-trace.html
|
|
127
|
-
'unicorn/no-useless-error-capture-stack-trace': 'off',
|
|
128
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-fallback-in-spread.html
|
|
129
|
-
'unicorn/no-useless-fallback-in-spread': 'off',
|
|
130
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-iterator-to-array.html
|
|
131
|
-
'unicorn/no-useless-iterator-to-array': 'off',
|
|
132
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-length-check.html
|
|
133
|
-
'unicorn/no-useless-length-check': 'off',
|
|
134
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-promise-resolve-reject.html
|
|
135
|
-
'unicorn/no-useless-promise-resolve-reject': 'off',
|
|
136
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-spread.html
|
|
137
|
-
'unicorn/no-useless-spread': 'off',
|
|
138
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-switch-case.html
|
|
139
|
-
'unicorn/no-useless-switch-case': 'off',
|
|
140
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-undefined.html
|
|
141
|
-
'unicorn/no-useless-undefined': 'off',
|
|
142
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-zero-fractions.html
|
|
143
|
-
'unicorn/no-zero-fractions': 'off',
|
|
144
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/number-literal-case.html
|
|
145
|
-
'unicorn/number-literal-case': 'off',
|
|
146
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/numeric-separators-style.html
|
|
147
|
-
'unicorn/numeric-separators-style': 'off',
|
|
148
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-add-event-listener.html
|
|
149
|
-
'unicorn/prefer-add-event-listener': 'off',
|
|
150
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-array-find.html
|
|
151
|
-
'unicorn/prefer-array-find': 'off',
|
|
152
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-array-flat.html
|
|
153
|
-
'unicorn/prefer-array-flat': 'off',
|
|
154
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-array-flat-map.html
|
|
155
|
-
'unicorn/prefer-array-flat-map': 'off',
|
|
156
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-array-index-of.html
|
|
157
|
-
'unicorn/prefer-array-index-of': 'off',
|
|
158
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-array-some.html
|
|
159
|
-
'unicorn/prefer-array-some': 'off',
|
|
160
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-at.html
|
|
161
|
-
'unicorn/prefer-at': 'off',
|
|
162
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-bigint-literals.html
|
|
163
|
-
'unicorn/prefer-bigint-literals': 'off',
|
|
164
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-blob-reading-methods.html
|
|
165
|
-
'unicorn/prefer-blob-reading-methods': 'off',
|
|
166
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-class-fields.html
|
|
167
|
-
'unicorn/prefer-class-fields': 'off',
|
|
168
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-classlist-toggle.html
|
|
169
|
-
'unicorn/prefer-classlist-toggle': 'off',
|
|
170
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-code-point.html
|
|
171
|
-
'unicorn/prefer-code-point': 'off',
|
|
172
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-date-now.html
|
|
173
|
-
'unicorn/prefer-date-now': 'off',
|
|
174
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-default-parameters.html
|
|
175
|
-
'unicorn/prefer-default-parameters': 'off',
|
|
176
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-append.html
|
|
177
|
-
'unicorn/prefer-dom-node-append': 'off',
|
|
178
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-dataset.html
|
|
179
|
-
'unicorn/prefer-dom-node-dataset': 'off',
|
|
180
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-remove.html
|
|
181
|
-
'unicorn/prefer-dom-node-remove': 'off',
|
|
182
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-text-content.html
|
|
183
|
-
'unicorn/prefer-dom-node-text-content': 'off',
|
|
184
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-event-target.html
|
|
185
|
-
'unicorn/prefer-event-target': 'off',
|
|
186
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-export-from.html
|
|
187
|
-
'unicorn/prefer-export-from': 'off',
|
|
188
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-global-this.html
|
|
189
|
-
'unicorn/prefer-global-this': 'off',
|
|
190
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-import-meta-properties.html
|
|
191
|
-
'unicorn/prefer-import-meta-properties': 'off',
|
|
192
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-includes.html
|
|
193
|
-
'unicorn/prefer-includes': 'off',
|
|
194
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-keyboard-event-key.html
|
|
195
|
-
'unicorn/prefer-keyboard-event-key': 'off',
|
|
196
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-logical-operator-over-ternary.html
|
|
197
|
-
'unicorn/prefer-logical-operator-over-ternary': 'off',
|
|
198
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-math-min-max.html
|
|
199
|
-
'unicorn/prefer-math-min-max': 'off',
|
|
200
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-math-trunc.html
|
|
201
|
-
'unicorn/prefer-math-trunc': 'off',
|
|
202
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-modern-dom-apis.html
|
|
203
|
-
'unicorn/prefer-modern-dom-apis': 'off',
|
|
204
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-modern-math-apis.html
|
|
205
|
-
'unicorn/prefer-modern-math-apis': 'off',
|
|
206
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-module.html
|
|
207
|
-
'unicorn/prefer-module': 'off',
|
|
208
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-native-coercion-functions.html
|
|
209
|
-
'unicorn/prefer-native-coercion-functions': 'off',
|
|
210
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-negative-index.html
|
|
211
|
-
'unicorn/prefer-negative-index': 'off',
|
|
212
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-node-protocol.html
|
|
213
|
-
'unicorn/prefer-node-protocol': 'off',
|
|
214
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-number-coercion.html
|
|
215
|
-
'unicorn/prefer-number-coercion': 'off',
|
|
216
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-number-properties.html
|
|
217
|
-
'unicorn/prefer-number-properties': 'off',
|
|
218
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-object-from-entries.html
|
|
219
|
-
'unicorn/prefer-object-from-entries': 'off',
|
|
220
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-optional-catch-binding.html
|
|
221
|
-
'unicorn/prefer-optional-catch-binding': 'off',
|
|
222
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-prototype-methods.html
|
|
223
|
-
'unicorn/prefer-prototype-methods': 'off',
|
|
224
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-query-selector.html
|
|
225
|
-
'unicorn/prefer-query-selector': 'off',
|
|
226
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-reflect-apply.html
|
|
227
|
-
'unicorn/prefer-reflect-apply': 'off',
|
|
228
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-regexp-test.html
|
|
229
|
-
'unicorn/prefer-regexp-test': 'off',
|
|
230
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-response-static-json.html
|
|
231
|
-
'unicorn/prefer-response-static-json': 'off',
|
|
232
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-set-has.html
|
|
233
|
-
'unicorn/prefer-set-has': 'off',
|
|
234
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-set-size.html
|
|
235
|
-
'unicorn/prefer-set-size': 'off',
|
|
236
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-single-call.html
|
|
237
|
-
'unicorn/prefer-single-call': 'off',
|
|
238
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-spread.html
|
|
239
|
-
'unicorn/prefer-spread': 'off',
|
|
240
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-string-raw.html
|
|
241
|
-
'unicorn/prefer-string-raw': 'off',
|
|
242
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-string-replace-all.html
|
|
243
|
-
'unicorn/prefer-string-replace-all': 'off',
|
|
244
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-string-slice.html
|
|
245
|
-
'unicorn/prefer-string-slice': 'off',
|
|
246
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-string-starts-ends-with.html
|
|
247
|
-
'unicorn/prefer-string-starts-ends-with': 'off',
|
|
248
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-string-trim-start-end.html
|
|
249
|
-
'unicorn/prefer-string-trim-start-end': 'off',
|
|
250
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-structured-clone.html
|
|
251
|
-
'unicorn/prefer-structured-clone': 'off',
|
|
252
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-ternary.html
|
|
253
|
-
'unicorn/prefer-ternary': 'off',
|
|
254
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-top-level-await.html
|
|
255
|
-
'unicorn/prefer-top-level-await': 'off',
|
|
256
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-type-error.html
|
|
257
|
-
'unicorn/prefer-type-error': 'off',
|
|
258
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/relative-url-style.html
|
|
259
|
-
'unicorn/relative-url-style': 'off',
|
|
260
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/require-array-join-separator.html
|
|
261
|
-
'unicorn/require-array-join-separator': 'off',
|
|
262
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/require-module-attributes.html
|
|
263
|
-
'unicorn/require-module-attributes': 'off',
|
|
264
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/require-module-specifiers.html
|
|
265
|
-
'unicorn/require-module-specifiers': 'off',
|
|
266
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/require-number-to-fixed-digits-argument.html
|
|
267
|
-
'unicorn/require-number-to-fixed-digits-argument': 'off',
|
|
268
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/require-post-message-target-origin.html
|
|
269
|
-
'unicorn/require-post-message-target-origin': 'off',
|
|
270
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/switch-case-braces.html
|
|
271
|
-
'unicorn/switch-case-braces': 'off',
|
|
272
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/switch-case-break-position.html
|
|
273
|
-
'unicorn/switch-case-break-position': 'off',
|
|
274
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/text-encoding-identifier-case.html
|
|
275
|
-
'unicorn/text-encoding-identifier-case': 'off',
|
|
276
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/throw-new-error.html
|
|
277
|
-
'unicorn/throw-new-error': 'off'
|
|
278
|
-
};
|
|
279
|
-
var unicorn = {
|
|
280
|
-
plugins: ['unicorn'],
|
|
281
|
-
rules
|
|
282
|
-
};
|
|
283
|
-
|
|
284
|
-
export { unicorn as default };
|
|
1
|
+
const rules={"unicorn/catch-error-name":"off","unicorn/consistent-assert":"off","unicorn/consistent-date-clone":"off","unicorn/consistent-empty-array-spread":"off","unicorn/consistent-existence-index-check":"off","unicorn/consistent-function-scoping":"off","unicorn/consistent-template-literal-escape":"off","unicorn/custom-error-definition":"off","unicorn/empty-brace-spaces":"off","unicorn/error-message":"off","unicorn/escape-case":"off","unicorn/explicit-length-check":"off","unicorn/explicit-timer-delay":"off","unicorn/filename-case":"off","unicorn/import-style":"off","unicorn/max-nested-calls":"off","unicorn/new-for-builtins":"off","unicorn/no-abusive-eslint-disable":"off","unicorn/no-accessor-recursion":"off","unicorn/no-anonymous-default-export":"off","unicorn/no-array-callback-reference":"off","unicorn/no-array-fill-with-reference-type":"off","unicorn/no-array-for-each":"off","unicorn/no-array-method-this-argument":"off","unicorn/no-array-reduce":"off","unicorn/no-array-reverse":"off","unicorn/no-array-sort":"off","unicorn/no-await-expression-member":"off","unicorn/no-await-in-promise-methods":"off","unicorn/no-confusing-array-with":"off","unicorn/no-console-spaces":"off","unicorn/no-document-cookie":"off","unicorn/no-empty-file":"off","unicorn/no-hex-escape":"off","unicorn/no-immediate-mutation":"off","unicorn/no-instanceof-array":"off","unicorn/no-instanceof-builtins":"off","unicorn/no-invalid-fetch-options":"off","unicorn/no-invalid-remove-event-listener":"off","unicorn/no-length-as-slice-end":"off","unicorn/no-lonely-if":"off","unicorn/no-magic-array-flat-depth":"off","unicorn/no-negated-condition":"off","unicorn/no-negation-in-equality-check":"off","unicorn/no-nested-ternary":"off","unicorn/no-new-array":"off","unicorn/no-new-buffer":"off","unicorn/no-null":"off","unicorn/no-object-as-default-parameter":"off","unicorn/no-process-exit":"off","unicorn/no-single-promise-in-promise-methods":"off","unicorn/no-static-only-class":"off","unicorn/no-thenable":"off","unicorn/no-this-assignment":"off","unicorn/no-typeof-undefined":"off","unicorn/no-unnecessary-array-flat-depth":"off","unicorn/no-unnecessary-array-splice-count":"off","unicorn/no-unnecessary-await":"off","unicorn/no-unnecessary-slice-end":"off","unicorn/no-unreadable-array-destructuring":"off","unicorn/no-unreadable-iife":"off","unicorn/no-useless-collection-argument":"off","unicorn/no-useless-error-capture-stack-trace":"off","unicorn/no-useless-fallback-in-spread":"off","unicorn/no-useless-iterator-to-array":"off","unicorn/no-useless-length-check":"off","unicorn/no-useless-promise-resolve-reject":"off","unicorn/no-useless-spread":"off","unicorn/no-useless-switch-case":"off","unicorn/no-useless-undefined":"off","unicorn/no-zero-fractions":"off","unicorn/number-literal-case":"off","unicorn/numeric-separators-style":"off","unicorn/prefer-add-event-listener":"off","unicorn/prefer-array-find":"off","unicorn/prefer-array-flat":"off","unicorn/prefer-array-flat-map":"off","unicorn/prefer-array-index-of":"off","unicorn/prefer-array-some":"off","unicorn/prefer-at":"off","unicorn/prefer-bigint-literals":"off","unicorn/prefer-blob-reading-methods":"off","unicorn/prefer-class-fields":"off","unicorn/prefer-classlist-toggle":"off","unicorn/prefer-code-point":"off","unicorn/prefer-date-now":"off","unicorn/prefer-default-parameters":"off","unicorn/prefer-dom-node-append":"off","unicorn/prefer-dom-node-dataset":"off","unicorn/prefer-dom-node-remove":"off","unicorn/prefer-dom-node-text-content":"off","unicorn/prefer-event-target":"off","unicorn/prefer-export-from":"off","unicorn/prefer-global-this":"off","unicorn/prefer-import-meta-properties":"off","unicorn/prefer-includes":"off","unicorn/prefer-keyboard-event-key":"off","unicorn/prefer-logical-operator-over-ternary":"off","unicorn/prefer-math-min-max":"off","unicorn/prefer-math-trunc":"off","unicorn/prefer-modern-dom-apis":"off","unicorn/prefer-modern-math-apis":"off","unicorn/prefer-module":"off","unicorn/prefer-native-coercion-functions":"off","unicorn/prefer-negative-index":"off","unicorn/prefer-node-protocol":"off","unicorn/prefer-number-coercion":"off","unicorn/prefer-number-properties":"off","unicorn/prefer-object-from-entries":"off","unicorn/prefer-optional-catch-binding":"off","unicorn/prefer-prototype-methods":"off","unicorn/prefer-query-selector":"off","unicorn/prefer-reflect-apply":"off","unicorn/prefer-regexp-test":"off","unicorn/prefer-response-static-json":"off","unicorn/prefer-set-has":"off","unicorn/prefer-set-size":"off","unicorn/prefer-single-call":"off","unicorn/prefer-spread":"off","unicorn/prefer-string-raw":"off","unicorn/prefer-string-replace-all":"off","unicorn/prefer-string-slice":"off","unicorn/prefer-string-starts-ends-with":"off","unicorn/prefer-string-trim-start-end":"off","unicorn/prefer-structured-clone":"off","unicorn/prefer-ternary":"off","unicorn/prefer-top-level-await":"off","unicorn/prefer-type-error":"off","unicorn/relative-url-style":"off","unicorn/require-array-join-separator":"off","unicorn/require-module-attributes":"off","unicorn/require-module-specifiers":"off","unicorn/require-number-to-fixed-digits-argument":"off","unicorn/require-post-message-target-origin":"off","unicorn/switch-case-braces":"off","unicorn/switch-case-break-position":"off","unicorn/text-encoding-identifier-case":"off","unicorn/throw-new-error":"off"};var unicorn={plugins:["unicorn"],rules:rules};export{unicorn as default};
|
package/dist/vitest.cjs
CHANGED
|
@@ -1,158 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const rules = {
|
|
6
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-each-for.html
|
|
7
|
-
'vitest/consistent-each-for': 'off',
|
|
8
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-test-filename.html
|
|
9
|
-
'vitest/consistent-test-filename': 'off',
|
|
10
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-test-it.html
|
|
11
|
-
'vitest/consistent-test-it': 'off',
|
|
12
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-vitest-vi.html
|
|
13
|
-
'vitest/consistent-vitest-vi': 'off',
|
|
14
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/expect-expect.html
|
|
15
|
-
'vitest/expect-expect': 'off',
|
|
16
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/hoisted-apis-on-top.html
|
|
17
|
-
'vitest/hoisted-apis-on-top': 'off',
|
|
18
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/max-expects.html
|
|
19
|
-
'vitest/max-expects': 'off',
|
|
20
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/max-nested-describe.html
|
|
21
|
-
'vitest/max-nested-describe': 'off',
|
|
22
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-alias-methods.html
|
|
23
|
-
'vitest/no-alias-methods': 'off',
|
|
24
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-commented-out-tests.html
|
|
25
|
-
'vitest/no-commented-out-tests': 'off',
|
|
26
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-expect.html
|
|
27
|
-
'vitest/no-conditional-expect': 'off',
|
|
28
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-in-test.html
|
|
29
|
-
'vitest/no-conditional-in-test': 'off',
|
|
30
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-tests.html
|
|
31
|
-
'vitest/no-conditional-tests': 'off',
|
|
32
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-disabled-tests.html
|
|
33
|
-
'vitest/no-disabled-tests': 'off',
|
|
34
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-duplicate-hooks.html
|
|
35
|
-
'vitest/no-duplicate-hooks': 'off',
|
|
36
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-focused-tests.html
|
|
37
|
-
'vitest/no-focused-tests': 'off',
|
|
38
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-hooks.html
|
|
39
|
-
'vitest/no-hooks': 'off',
|
|
40
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-identical-title.html
|
|
41
|
-
'vitest/no-identical-title': 'off',
|
|
42
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-import-node-test.html
|
|
43
|
-
'vitest/no-import-node-test': 'off',
|
|
44
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-importing-vitest-globals.html
|
|
45
|
-
'vitest/no-importing-vitest-globals': 'off',
|
|
46
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-interpolation-in-snapshots.html
|
|
47
|
-
'vitest/no-interpolation-in-snapshots': 'off',
|
|
48
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-large-snapshots.html
|
|
49
|
-
'vitest/no-large-snapshots': 'off',
|
|
50
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-mocks-import.html
|
|
51
|
-
'vitest/no-mocks-import': 'off',
|
|
52
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-restricted-matchers.html
|
|
53
|
-
'vitest/no-restricted-matchers': 'off',
|
|
54
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-restricted-vi-methods.html
|
|
55
|
-
'vitest/no-restricted-vi-methods': 'off',
|
|
56
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-standalone-expect.html
|
|
57
|
-
'vitest/no-standalone-expect': 'off',
|
|
58
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-test-prefixes.html
|
|
59
|
-
'vitest/no-test-prefixes': 'off',
|
|
60
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-test-return-statement.html
|
|
61
|
-
'vitest/no-test-return-statement': 'off',
|
|
62
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-unneeded-async-expect-function.html
|
|
63
|
-
'vitest/no-unneeded-async-expect-function': 'off',
|
|
64
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/padding-around-after-all-blocks.html
|
|
65
|
-
'vitest/padding-around-after-all-blocks': 'off',
|
|
66
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/padding-around-test-blocks.html
|
|
67
|
-
'vitest/padding-around-test-blocks': 'off',
|
|
68
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-exactly-once-with.html
|
|
69
|
-
'vitest/prefer-called-exactly-once-with': 'off',
|
|
70
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-once.html
|
|
71
|
-
'vitest/prefer-called-once': 'off',
|
|
72
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-times.html
|
|
73
|
-
'vitest/prefer-called-times': 'off',
|
|
74
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-with.html
|
|
75
|
-
'vitest/prefer-called-with': 'off',
|
|
76
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-comparison-matcher.html
|
|
77
|
-
'vitest/prefer-comparison-matcher': 'off',
|
|
78
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-describe-function-title.html
|
|
79
|
-
'vitest/prefer-describe-function-title': 'off',
|
|
80
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-each.html
|
|
81
|
-
'vitest/prefer-each': 'off',
|
|
82
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-equality-matcher.html
|
|
83
|
-
'vitest/prefer-equality-matcher': 'off',
|
|
84
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-assertions.html
|
|
85
|
-
'vitest/prefer-expect-assertions': 'off',
|
|
86
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-resolves.html
|
|
87
|
-
'vitest/prefer-expect-resolves': 'off',
|
|
88
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-type-of.html
|
|
89
|
-
'vitest/prefer-expect-type-of': 'off',
|
|
90
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-hooks-in-order.html
|
|
91
|
-
'vitest/prefer-hooks-in-order': 'off',
|
|
92
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-hooks-on-top.html
|
|
93
|
-
'vitest/prefer-hooks-on-top': 'off',
|
|
94
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-import-in-mock.html
|
|
95
|
-
'vitest/prefer-import-in-mock': 'off',
|
|
96
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-importing-vitest-globals.html
|
|
97
|
-
'vitest/prefer-importing-vitest-globals': 'off',
|
|
98
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-lowercase-title.html
|
|
99
|
-
'vitest/prefer-lowercase-title': 'off',
|
|
100
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-mock-promise-shorthand.html
|
|
101
|
-
'vitest/prefer-mock-promise-shorthand': 'off',
|
|
102
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-mock-return-shorthand.html
|
|
103
|
-
'vitest/prefer-mock-return-shorthand': 'off',
|
|
104
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-snapshot-hint.html
|
|
105
|
-
'vitest/prefer-snapshot-hint': 'off',
|
|
106
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-spy-on.html
|
|
107
|
-
'vitest/prefer-spy-on': 'off',
|
|
108
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-strict-boolean-matchers.html
|
|
109
|
-
'vitest/prefer-strict-boolean-matchers': 'off',
|
|
110
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-strict-equal.html
|
|
111
|
-
'vitest/prefer-strict-equal': 'off',
|
|
112
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be.html
|
|
113
|
-
'vitest/prefer-to-be': 'off',
|
|
114
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-falsy.html
|
|
115
|
-
'vitest/prefer-to-be-falsy': 'off',
|
|
116
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-object.html
|
|
117
|
-
'vitest/prefer-to-be-object': 'off',
|
|
118
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-truthy.html
|
|
119
|
-
'vitest/prefer-to-be-truthy': 'off',
|
|
120
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-contain.html
|
|
121
|
-
'vitest/prefer-to-contain': 'off',
|
|
122
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-have-been-called-times.html
|
|
123
|
-
'vitest/prefer-to-have-been-called-times': 'off',
|
|
124
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-have-length.html
|
|
125
|
-
'vitest/prefer-to-have-length': 'off',
|
|
126
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-todo.html
|
|
127
|
-
'vitest/prefer-todo': 'off',
|
|
128
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-awaited-expect-poll.html
|
|
129
|
-
'vitest/require-awaited-expect-poll': 'off',
|
|
130
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-hook.html
|
|
131
|
-
'vitest/require-hook': 'off',
|
|
132
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-local-test-context-for-concurrent-snapshots.html
|
|
133
|
-
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
|
|
134
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-mock-type-parameters.html
|
|
135
|
-
'vitest/require-mock-type-parameters': 'off',
|
|
136
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-test-timeout.html
|
|
137
|
-
'vitest/require-test-timeout': 'off',
|
|
138
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-to-throw-message.html
|
|
139
|
-
'vitest/require-to-throw-message': 'off',
|
|
140
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-top-level-describe.html
|
|
141
|
-
'vitest/require-top-level-describe': 'off',
|
|
142
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-describe-callback.html
|
|
143
|
-
'vitest/valid-describe-callback': 'off',
|
|
144
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-expect.html
|
|
145
|
-
'vitest/valid-expect': 'off',
|
|
146
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-expect-in-promise.html
|
|
147
|
-
'vitest/valid-expect-in-promise': 'off',
|
|
148
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-title.html
|
|
149
|
-
'vitest/valid-title': 'off',
|
|
150
|
-
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/warn-todo.html
|
|
151
|
-
'vitest/warn-todo': 'off'
|
|
152
|
-
};
|
|
153
|
-
var vitest = {
|
|
154
|
-
plugins: ['vitest'],
|
|
155
|
-
rules
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
exports.default = vitest;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});const rules={"vitest/consistent-each-for":"off","vitest/consistent-test-filename":"off","vitest/consistent-test-it":"off","vitest/consistent-vitest-vi":"off","vitest/expect-expect":"off","vitest/hoisted-apis-on-top":"off","vitest/max-expects":"off","vitest/max-nested-describe":"off","vitest/no-alias-methods":"off","vitest/no-commented-out-tests":"off","vitest/no-conditional-expect":"off","vitest/no-conditional-in-test":"off","vitest/no-conditional-tests":"off","vitest/no-disabled-tests":"off","vitest/no-duplicate-hooks":"off","vitest/no-focused-tests":"off","vitest/no-hooks":"off","vitest/no-identical-title":"off","vitest/no-import-node-test":"off","vitest/no-importing-vitest-globals":"off","vitest/no-interpolation-in-snapshots":"off","vitest/no-large-snapshots":"off","vitest/no-mocks-import":"off","vitest/no-restricted-matchers":"off","vitest/no-restricted-vi-methods":"off","vitest/no-standalone-expect":"off","vitest/no-test-prefixes":"off","vitest/no-test-return-statement":"off","vitest/no-unneeded-async-expect-function":"off","vitest/padding-around-after-all-blocks":"off","vitest/padding-around-test-blocks":"off","vitest/prefer-called-exactly-once-with":"off","vitest/prefer-called-once":"off","vitest/prefer-called-times":"off","vitest/prefer-called-with":"off","vitest/prefer-comparison-matcher":"off","vitest/prefer-describe-function-title":"off","vitest/prefer-each":"off","vitest/prefer-equality-matcher":"off","vitest/prefer-expect-assertions":"off","vitest/prefer-expect-resolves":"off","vitest/prefer-expect-type-of":"off","vitest/prefer-hooks-in-order":"off","vitest/prefer-hooks-on-top":"off","vitest/prefer-import-in-mock":"off","vitest/prefer-importing-vitest-globals":"off","vitest/prefer-lowercase-title":"off","vitest/prefer-mock-promise-shorthand":"off","vitest/prefer-mock-return-shorthand":"off","vitest/prefer-snapshot-hint":"off","vitest/prefer-spy-on":"off","vitest/prefer-strict-boolean-matchers":"off","vitest/prefer-strict-equal":"off","vitest/prefer-to-be":"off","vitest/prefer-to-be-falsy":"off","vitest/prefer-to-be-object":"off","vitest/prefer-to-be-truthy":"off","vitest/prefer-to-contain":"off","vitest/prefer-to-have-been-called-times":"off","vitest/prefer-to-have-length":"off","vitest/prefer-todo":"off","vitest/require-awaited-expect-poll":"off","vitest/require-hook":"off","vitest/require-local-test-context-for-concurrent-snapshots":"off","vitest/require-mock-type-parameters":"off","vitest/require-test-timeout":"off","vitest/require-to-throw-message":"off","vitest/require-top-level-describe":"off","vitest/valid-describe-callback":"off","vitest/valid-expect":"off","vitest/valid-expect-in-promise":"off","vitest/valid-title":"off","vitest/warn-todo":"off"};var vitest={plugins:["vitest"],rules:rules};exports.default=vitest;
|