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