@mado/oxlint 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/eslint.cjs +195 -214
- package/dist/eslint.js +192 -194
- package/dist/import.cjs +41 -60
- package/dist/import.js +38 -40
- package/dist/index.cjs +18 -36
- package/dist/index.js +15 -16
- package/dist/jest.cjs +68 -87
- package/dist/jest.js +65 -67
- package/dist/jsdoc.cjs +31 -50
- package/dist/jsdoc.js +28 -30
- package/dist/jsx-a11y.cjs +44 -63
- package/dist/jsx-a11y.js +41 -43
- package/dist/nextjs.cjs +29 -48
- package/dist/nextjs.js +26 -28
- package/dist/node.cjs +19 -38
- package/dist/node.js +16 -18
- package/dist/oxc.cjs +35 -54
- package/dist/oxc.js +32 -34
- package/dist/promise.cjs +24 -43
- package/dist/promise.js +21 -23
- package/dist/react-perf.cjs +12 -31
- package/dist/react-perf.js +9 -11
- package/dist/react.cjs +93 -112
- package/dist/react.js +90 -92
- package/dist/typescript.cjs +119 -138
- package/dist/typescript.js +116 -118
- package/dist/unicorn.cjs +146 -165
- package/dist/unicorn.js +143 -145
- package/dist/vitest.cjs +81 -100
- package/dist/vitest.js +78 -80
- package/dist/vue.cjs +54 -73
- package/dist/vue.js +51 -53
- package/package.json +9 -7
package/dist/vitest.cjs
CHANGED
|
@@ -1,177 +1,158 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
'use strict';
|
|
19
2
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
default: () => vitest_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(vitest_exports);
|
|
26
|
-
var rules = {
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const rules = {
|
|
27
6
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-each-for.html
|
|
28
|
-
|
|
7
|
+
'vitest/consistent-each-for': 'off',
|
|
29
8
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-test-filename.html
|
|
30
|
-
|
|
9
|
+
'vitest/consistent-test-filename': 'off',
|
|
31
10
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-test-it.html
|
|
32
|
-
|
|
11
|
+
'vitest/consistent-test-it': 'off',
|
|
33
12
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-vitest-vi.html
|
|
34
|
-
|
|
13
|
+
'vitest/consistent-vitest-vi': 'off',
|
|
35
14
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/expect-expect.html
|
|
36
|
-
|
|
15
|
+
'vitest/expect-expect': 'off',
|
|
37
16
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/hoisted-apis-on-top.html
|
|
38
|
-
|
|
17
|
+
'vitest/hoisted-apis-on-top': 'off',
|
|
39
18
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/max-expects.html
|
|
40
|
-
|
|
19
|
+
'vitest/max-expects': 'off',
|
|
41
20
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/max-nested-describe.html
|
|
42
|
-
|
|
21
|
+
'vitest/max-nested-describe': 'off',
|
|
43
22
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-alias-methods.html
|
|
44
|
-
|
|
23
|
+
'vitest/no-alias-methods': 'off',
|
|
45
24
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-commented-out-tests.html
|
|
46
|
-
|
|
25
|
+
'vitest/no-commented-out-tests': 'off',
|
|
47
26
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-expect.html
|
|
48
|
-
|
|
27
|
+
'vitest/no-conditional-expect': 'off',
|
|
49
28
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-in-test.html
|
|
50
|
-
|
|
29
|
+
'vitest/no-conditional-in-test': 'off',
|
|
51
30
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-tests.html
|
|
52
|
-
|
|
31
|
+
'vitest/no-conditional-tests': 'off',
|
|
53
32
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-disabled-tests.html
|
|
54
|
-
|
|
33
|
+
'vitest/no-disabled-tests': 'off',
|
|
55
34
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-duplicate-hooks.html
|
|
56
|
-
|
|
35
|
+
'vitest/no-duplicate-hooks': 'off',
|
|
57
36
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-focused-tests.html
|
|
58
|
-
|
|
37
|
+
'vitest/no-focused-tests': 'off',
|
|
59
38
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-hooks.html
|
|
60
|
-
|
|
39
|
+
'vitest/no-hooks': 'off',
|
|
61
40
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-identical-title.html
|
|
62
|
-
|
|
41
|
+
'vitest/no-identical-title': 'off',
|
|
63
42
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-import-node-test.html
|
|
64
|
-
|
|
43
|
+
'vitest/no-import-node-test': 'off',
|
|
65
44
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-importing-vitest-globals.html
|
|
66
|
-
|
|
45
|
+
'vitest/no-importing-vitest-globals': 'off',
|
|
67
46
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-interpolation-in-snapshots.html
|
|
68
|
-
|
|
47
|
+
'vitest/no-interpolation-in-snapshots': 'off',
|
|
69
48
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-large-snapshots.html
|
|
70
|
-
|
|
49
|
+
'vitest/no-large-snapshots': 'off',
|
|
71
50
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-mocks-import.html
|
|
72
|
-
|
|
51
|
+
'vitest/no-mocks-import': 'off',
|
|
73
52
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-restricted-matchers.html
|
|
74
|
-
|
|
53
|
+
'vitest/no-restricted-matchers': 'off',
|
|
75
54
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-restricted-vi-methods.html
|
|
76
|
-
|
|
55
|
+
'vitest/no-restricted-vi-methods': 'off',
|
|
77
56
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-standalone-expect.html
|
|
78
|
-
|
|
57
|
+
'vitest/no-standalone-expect': 'off',
|
|
79
58
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-test-prefixes.html
|
|
80
|
-
|
|
59
|
+
'vitest/no-test-prefixes': 'off',
|
|
81
60
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-test-return-statement.html
|
|
82
|
-
|
|
61
|
+
'vitest/no-test-return-statement': 'off',
|
|
83
62
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-unneeded-async-expect-function.html
|
|
84
|
-
|
|
63
|
+
'vitest/no-unneeded-async-expect-function': 'off',
|
|
85
64
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/padding-around-after-all-blocks.html
|
|
86
|
-
|
|
65
|
+
'vitest/padding-around-after-all-blocks': 'off',
|
|
87
66
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/padding-around-test-blocks.html
|
|
88
|
-
|
|
67
|
+
'vitest/padding-around-test-blocks': 'off',
|
|
89
68
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-exactly-once-with.html
|
|
90
|
-
|
|
69
|
+
'vitest/prefer-called-exactly-once-with': 'off',
|
|
91
70
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-once.html
|
|
92
|
-
|
|
71
|
+
'vitest/prefer-called-once': 'off',
|
|
93
72
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-times.html
|
|
94
|
-
|
|
73
|
+
'vitest/prefer-called-times': 'off',
|
|
95
74
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-with.html
|
|
96
|
-
|
|
75
|
+
'vitest/prefer-called-with': 'off',
|
|
97
76
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-comparison-matcher.html
|
|
98
|
-
|
|
77
|
+
'vitest/prefer-comparison-matcher': 'off',
|
|
99
78
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-describe-function-title.html
|
|
100
|
-
|
|
79
|
+
'vitest/prefer-describe-function-title': 'off',
|
|
101
80
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-each.html
|
|
102
|
-
|
|
81
|
+
'vitest/prefer-each': 'off',
|
|
103
82
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-equality-matcher.html
|
|
104
|
-
|
|
83
|
+
'vitest/prefer-equality-matcher': 'off',
|
|
105
84
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-assertions.html
|
|
106
|
-
|
|
85
|
+
'vitest/prefer-expect-assertions': 'off',
|
|
107
86
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-resolves.html
|
|
108
|
-
|
|
87
|
+
'vitest/prefer-expect-resolves': 'off',
|
|
109
88
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-type-of.html
|
|
110
|
-
|
|
89
|
+
'vitest/prefer-expect-type-of': 'off',
|
|
111
90
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-hooks-in-order.html
|
|
112
|
-
|
|
91
|
+
'vitest/prefer-hooks-in-order': 'off',
|
|
113
92
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-hooks-on-top.html
|
|
114
|
-
|
|
93
|
+
'vitest/prefer-hooks-on-top': 'off',
|
|
115
94
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-import-in-mock.html
|
|
116
|
-
|
|
95
|
+
'vitest/prefer-import-in-mock': 'off',
|
|
117
96
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-importing-vitest-globals.html
|
|
118
|
-
|
|
97
|
+
'vitest/prefer-importing-vitest-globals': 'off',
|
|
119
98
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-lowercase-title.html
|
|
120
|
-
|
|
99
|
+
'vitest/prefer-lowercase-title': 'off',
|
|
121
100
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-mock-promise-shorthand.html
|
|
122
|
-
|
|
101
|
+
'vitest/prefer-mock-promise-shorthand': 'off',
|
|
123
102
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-mock-return-shorthand.html
|
|
124
|
-
|
|
103
|
+
'vitest/prefer-mock-return-shorthand': 'off',
|
|
125
104
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-snapshot-hint.html
|
|
126
|
-
|
|
105
|
+
'vitest/prefer-snapshot-hint': 'off',
|
|
127
106
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-spy-on.html
|
|
128
|
-
|
|
107
|
+
'vitest/prefer-spy-on': 'off',
|
|
129
108
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-strict-boolean-matchers.html
|
|
130
|
-
|
|
109
|
+
'vitest/prefer-strict-boolean-matchers': 'off',
|
|
131
110
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-strict-equal.html
|
|
132
|
-
|
|
111
|
+
'vitest/prefer-strict-equal': 'off',
|
|
133
112
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be.html
|
|
134
|
-
|
|
113
|
+
'vitest/prefer-to-be': 'off',
|
|
135
114
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-falsy.html
|
|
136
|
-
|
|
115
|
+
'vitest/prefer-to-be-falsy': 'off',
|
|
137
116
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-object.html
|
|
138
|
-
|
|
117
|
+
'vitest/prefer-to-be-object': 'off',
|
|
139
118
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-truthy.html
|
|
140
|
-
|
|
119
|
+
'vitest/prefer-to-be-truthy': 'off',
|
|
141
120
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-contain.html
|
|
142
|
-
|
|
121
|
+
'vitest/prefer-to-contain': 'off',
|
|
143
122
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-have-been-called-times.html
|
|
144
|
-
|
|
123
|
+
'vitest/prefer-to-have-been-called-times': 'off',
|
|
145
124
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-have-length.html
|
|
146
|
-
|
|
125
|
+
'vitest/prefer-to-have-length': 'off',
|
|
147
126
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-todo.html
|
|
148
|
-
|
|
127
|
+
'vitest/prefer-todo': 'off',
|
|
149
128
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-awaited-expect-poll.html
|
|
150
|
-
|
|
129
|
+
'vitest/require-awaited-expect-poll': 'off',
|
|
151
130
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-hook.html
|
|
152
|
-
|
|
131
|
+
'vitest/require-hook': 'off',
|
|
153
132
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-local-test-context-for-concurrent-snapshots.html
|
|
154
|
-
|
|
133
|
+
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
|
|
155
134
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-mock-type-parameters.html
|
|
156
|
-
|
|
135
|
+
'vitest/require-mock-type-parameters': 'off',
|
|
157
136
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-test-timeout.html
|
|
158
|
-
|
|
137
|
+
'vitest/require-test-timeout': 'off',
|
|
159
138
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-to-throw-message.html
|
|
160
|
-
|
|
139
|
+
'vitest/require-to-throw-message': 'off',
|
|
161
140
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-top-level-describe.html
|
|
162
|
-
|
|
141
|
+
'vitest/require-top-level-describe': 'off',
|
|
163
142
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-describe-callback.html
|
|
164
|
-
|
|
143
|
+
'vitest/valid-describe-callback': 'off',
|
|
165
144
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-expect.html
|
|
166
|
-
|
|
145
|
+
'vitest/valid-expect': 'off',
|
|
167
146
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-expect-in-promise.html
|
|
168
|
-
|
|
147
|
+
'vitest/valid-expect-in-promise': 'off',
|
|
169
148
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-title.html
|
|
170
|
-
|
|
149
|
+
'vitest/valid-title': 'off',
|
|
171
150
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/warn-todo.html
|
|
172
|
-
|
|
151
|
+
'vitest/warn-todo': 'off'
|
|
173
152
|
};
|
|
174
|
-
var
|
|
175
|
-
plugins: [
|
|
153
|
+
var vitest = {
|
|
154
|
+
plugins: ['vitest'],
|
|
176
155
|
rules
|
|
177
156
|
};
|
|
157
|
+
|
|
158
|
+
exports.default = vitest;
|
package/dist/vitest.js
CHANGED
|
@@ -1,156 +1,154 @@
|
|
|
1
|
-
|
|
2
|
-
var rules = {
|
|
1
|
+
const rules = {
|
|
3
2
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-each-for.html
|
|
4
|
-
|
|
3
|
+
'vitest/consistent-each-for': 'off',
|
|
5
4
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-test-filename.html
|
|
6
|
-
|
|
5
|
+
'vitest/consistent-test-filename': 'off',
|
|
7
6
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-test-it.html
|
|
8
|
-
|
|
7
|
+
'vitest/consistent-test-it': 'off',
|
|
9
8
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/consistent-vitest-vi.html
|
|
10
|
-
|
|
9
|
+
'vitest/consistent-vitest-vi': 'off',
|
|
11
10
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/expect-expect.html
|
|
12
|
-
|
|
11
|
+
'vitest/expect-expect': 'off',
|
|
13
12
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/hoisted-apis-on-top.html
|
|
14
|
-
|
|
13
|
+
'vitest/hoisted-apis-on-top': 'off',
|
|
15
14
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/max-expects.html
|
|
16
|
-
|
|
15
|
+
'vitest/max-expects': 'off',
|
|
17
16
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/max-nested-describe.html
|
|
18
|
-
|
|
17
|
+
'vitest/max-nested-describe': 'off',
|
|
19
18
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-alias-methods.html
|
|
20
|
-
|
|
19
|
+
'vitest/no-alias-methods': 'off',
|
|
21
20
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-commented-out-tests.html
|
|
22
|
-
|
|
21
|
+
'vitest/no-commented-out-tests': 'off',
|
|
23
22
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-expect.html
|
|
24
|
-
|
|
23
|
+
'vitest/no-conditional-expect': 'off',
|
|
25
24
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-in-test.html
|
|
26
|
-
|
|
25
|
+
'vitest/no-conditional-in-test': 'off',
|
|
27
26
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-conditional-tests.html
|
|
28
|
-
|
|
27
|
+
'vitest/no-conditional-tests': 'off',
|
|
29
28
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-disabled-tests.html
|
|
30
|
-
|
|
29
|
+
'vitest/no-disabled-tests': 'off',
|
|
31
30
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-duplicate-hooks.html
|
|
32
|
-
|
|
31
|
+
'vitest/no-duplicate-hooks': 'off',
|
|
33
32
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-focused-tests.html
|
|
34
|
-
|
|
33
|
+
'vitest/no-focused-tests': 'off',
|
|
35
34
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-hooks.html
|
|
36
|
-
|
|
35
|
+
'vitest/no-hooks': 'off',
|
|
37
36
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-identical-title.html
|
|
38
|
-
|
|
37
|
+
'vitest/no-identical-title': 'off',
|
|
39
38
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-import-node-test.html
|
|
40
|
-
|
|
39
|
+
'vitest/no-import-node-test': 'off',
|
|
41
40
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-importing-vitest-globals.html
|
|
42
|
-
|
|
41
|
+
'vitest/no-importing-vitest-globals': 'off',
|
|
43
42
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-interpolation-in-snapshots.html
|
|
44
|
-
|
|
43
|
+
'vitest/no-interpolation-in-snapshots': 'off',
|
|
45
44
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-large-snapshots.html
|
|
46
|
-
|
|
45
|
+
'vitest/no-large-snapshots': 'off',
|
|
47
46
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-mocks-import.html
|
|
48
|
-
|
|
47
|
+
'vitest/no-mocks-import': 'off',
|
|
49
48
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-restricted-matchers.html
|
|
50
|
-
|
|
49
|
+
'vitest/no-restricted-matchers': 'off',
|
|
51
50
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-restricted-vi-methods.html
|
|
52
|
-
|
|
51
|
+
'vitest/no-restricted-vi-methods': 'off',
|
|
53
52
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-standalone-expect.html
|
|
54
|
-
|
|
53
|
+
'vitest/no-standalone-expect': 'off',
|
|
55
54
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-test-prefixes.html
|
|
56
|
-
|
|
55
|
+
'vitest/no-test-prefixes': 'off',
|
|
57
56
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-test-return-statement.html
|
|
58
|
-
|
|
57
|
+
'vitest/no-test-return-statement': 'off',
|
|
59
58
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/no-unneeded-async-expect-function.html
|
|
60
|
-
|
|
59
|
+
'vitest/no-unneeded-async-expect-function': 'off',
|
|
61
60
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/padding-around-after-all-blocks.html
|
|
62
|
-
|
|
61
|
+
'vitest/padding-around-after-all-blocks': 'off',
|
|
63
62
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/padding-around-test-blocks.html
|
|
64
|
-
|
|
63
|
+
'vitest/padding-around-test-blocks': 'off',
|
|
65
64
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-exactly-once-with.html
|
|
66
|
-
|
|
65
|
+
'vitest/prefer-called-exactly-once-with': 'off',
|
|
67
66
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-once.html
|
|
68
|
-
|
|
67
|
+
'vitest/prefer-called-once': 'off',
|
|
69
68
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-times.html
|
|
70
|
-
|
|
69
|
+
'vitest/prefer-called-times': 'off',
|
|
71
70
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-called-with.html
|
|
72
|
-
|
|
71
|
+
'vitest/prefer-called-with': 'off',
|
|
73
72
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-comparison-matcher.html
|
|
74
|
-
|
|
73
|
+
'vitest/prefer-comparison-matcher': 'off',
|
|
75
74
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-describe-function-title.html
|
|
76
|
-
|
|
75
|
+
'vitest/prefer-describe-function-title': 'off',
|
|
77
76
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-each.html
|
|
78
|
-
|
|
77
|
+
'vitest/prefer-each': 'off',
|
|
79
78
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-equality-matcher.html
|
|
80
|
-
|
|
79
|
+
'vitest/prefer-equality-matcher': 'off',
|
|
81
80
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-assertions.html
|
|
82
|
-
|
|
81
|
+
'vitest/prefer-expect-assertions': 'off',
|
|
83
82
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-resolves.html
|
|
84
|
-
|
|
83
|
+
'vitest/prefer-expect-resolves': 'off',
|
|
85
84
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-expect-type-of.html
|
|
86
|
-
|
|
85
|
+
'vitest/prefer-expect-type-of': 'off',
|
|
87
86
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-hooks-in-order.html
|
|
88
|
-
|
|
87
|
+
'vitest/prefer-hooks-in-order': 'off',
|
|
89
88
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-hooks-on-top.html
|
|
90
|
-
|
|
89
|
+
'vitest/prefer-hooks-on-top': 'off',
|
|
91
90
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-import-in-mock.html
|
|
92
|
-
|
|
91
|
+
'vitest/prefer-import-in-mock': 'off',
|
|
93
92
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-importing-vitest-globals.html
|
|
94
|
-
|
|
93
|
+
'vitest/prefer-importing-vitest-globals': 'off',
|
|
95
94
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-lowercase-title.html
|
|
96
|
-
|
|
95
|
+
'vitest/prefer-lowercase-title': 'off',
|
|
97
96
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-mock-promise-shorthand.html
|
|
98
|
-
|
|
97
|
+
'vitest/prefer-mock-promise-shorthand': 'off',
|
|
99
98
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-mock-return-shorthand.html
|
|
100
|
-
|
|
99
|
+
'vitest/prefer-mock-return-shorthand': 'off',
|
|
101
100
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-snapshot-hint.html
|
|
102
|
-
|
|
101
|
+
'vitest/prefer-snapshot-hint': 'off',
|
|
103
102
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-spy-on.html
|
|
104
|
-
|
|
103
|
+
'vitest/prefer-spy-on': 'off',
|
|
105
104
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-strict-boolean-matchers.html
|
|
106
|
-
|
|
105
|
+
'vitest/prefer-strict-boolean-matchers': 'off',
|
|
107
106
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-strict-equal.html
|
|
108
|
-
|
|
107
|
+
'vitest/prefer-strict-equal': 'off',
|
|
109
108
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be.html
|
|
110
|
-
|
|
109
|
+
'vitest/prefer-to-be': 'off',
|
|
111
110
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-falsy.html
|
|
112
|
-
|
|
111
|
+
'vitest/prefer-to-be-falsy': 'off',
|
|
113
112
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-object.html
|
|
114
|
-
|
|
113
|
+
'vitest/prefer-to-be-object': 'off',
|
|
115
114
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-be-truthy.html
|
|
116
|
-
|
|
115
|
+
'vitest/prefer-to-be-truthy': 'off',
|
|
117
116
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-contain.html
|
|
118
|
-
|
|
117
|
+
'vitest/prefer-to-contain': 'off',
|
|
119
118
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-have-been-called-times.html
|
|
120
|
-
|
|
119
|
+
'vitest/prefer-to-have-been-called-times': 'off',
|
|
121
120
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-to-have-length.html
|
|
122
|
-
|
|
121
|
+
'vitest/prefer-to-have-length': 'off',
|
|
123
122
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/prefer-todo.html
|
|
124
|
-
|
|
123
|
+
'vitest/prefer-todo': 'off',
|
|
125
124
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-awaited-expect-poll.html
|
|
126
|
-
|
|
125
|
+
'vitest/require-awaited-expect-poll': 'off',
|
|
127
126
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-hook.html
|
|
128
|
-
|
|
127
|
+
'vitest/require-hook': 'off',
|
|
129
128
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-local-test-context-for-concurrent-snapshots.html
|
|
130
|
-
|
|
129
|
+
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
|
|
131
130
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-mock-type-parameters.html
|
|
132
|
-
|
|
131
|
+
'vitest/require-mock-type-parameters': 'off',
|
|
133
132
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-test-timeout.html
|
|
134
|
-
|
|
133
|
+
'vitest/require-test-timeout': 'off',
|
|
135
134
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-to-throw-message.html
|
|
136
|
-
|
|
135
|
+
'vitest/require-to-throw-message': 'off',
|
|
137
136
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/require-top-level-describe.html
|
|
138
|
-
|
|
137
|
+
'vitest/require-top-level-describe': 'off',
|
|
139
138
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-describe-callback.html
|
|
140
|
-
|
|
139
|
+
'vitest/valid-describe-callback': 'off',
|
|
141
140
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-expect.html
|
|
142
|
-
|
|
141
|
+
'vitest/valid-expect': 'off',
|
|
143
142
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-expect-in-promise.html
|
|
144
|
-
|
|
143
|
+
'vitest/valid-expect-in-promise': 'off',
|
|
145
144
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/valid-title.html
|
|
146
|
-
|
|
145
|
+
'vitest/valid-title': 'off',
|
|
147
146
|
// https://oxc.rs/docs/guide/usage/linter/rules/vitest/warn-todo.html
|
|
148
|
-
|
|
147
|
+
'vitest/warn-todo': 'off'
|
|
149
148
|
};
|
|
150
|
-
var
|
|
151
|
-
plugins: [
|
|
149
|
+
var vitest = {
|
|
150
|
+
plugins: ['vitest'],
|
|
152
151
|
rules
|
|
153
152
|
};
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
};
|
|
153
|
+
|
|
154
|
+
export { vitest as default };
|