@vitest/eslint-plugin 1.1.32-beta.2 → 1.1.32
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/dist/index.cjs +2 -2
- package/dist/index.d.cts +80 -19
- package/dist/index.d.mts +80 -19
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -183,25 +183,86 @@ declare const plugin: {
|
|
|
183
183
|
plugins: string[];
|
|
184
184
|
rules: {};
|
|
185
185
|
};
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
186
|
+
recommended: {
|
|
187
|
+
plugins: string[];
|
|
188
|
+
rules: {
|
|
189
|
+
readonly "vitest/expect-expect": "error";
|
|
190
|
+
readonly "vitest/no-identical-title": "error";
|
|
191
|
+
readonly "vitest/no-commented-out-tests": "error";
|
|
192
|
+
readonly "vitest/valid-title": "error";
|
|
193
|
+
readonly "vitest/valid-expect": "error";
|
|
194
|
+
readonly "vitest/valid-describe-callback": "error";
|
|
195
|
+
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "error";
|
|
196
|
+
readonly "vitest/no-import-node-test": "error";
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
all: {
|
|
200
|
+
plugins: string[];
|
|
201
|
+
rules: {
|
|
202
|
+
readonly "vitest/prefer-lowercase-title": "warn";
|
|
203
|
+
readonly "vitest/max-nested-describe": "warn";
|
|
204
|
+
readonly "vitest/no-focused-tests": "warn";
|
|
205
|
+
readonly "vitest/no-conditional-tests": "warn";
|
|
206
|
+
readonly "vitest/consistent-test-it": "warn";
|
|
207
|
+
readonly "vitest/no-hooks": "warn";
|
|
208
|
+
readonly "vitest/no-restricted-vi-methods": "warn";
|
|
209
|
+
readonly "vitest/consistent-test-filename": "warn";
|
|
210
|
+
readonly "vitest/max-expects": "warn";
|
|
211
|
+
readonly "vitest/no-alias-methods": "warn";
|
|
212
|
+
readonly "vitest/no-conditional-expect": "warn";
|
|
213
|
+
readonly "vitest/no-conditional-in-test": "warn";
|
|
214
|
+
readonly "vitest/no-disabled-tests": "warn";
|
|
215
|
+
readonly "vitest/no-done-callback": "warn";
|
|
216
|
+
readonly "vitest/no-duplicate-hooks": "warn";
|
|
217
|
+
readonly "vitest/no-large-snapshots": "warn";
|
|
218
|
+
readonly "vitest/no-interpolation-in-snapshots": "warn";
|
|
219
|
+
readonly "vitest/no-mocks-import": "warn";
|
|
220
|
+
readonly "vitest/no-restricted-matchers": "warn";
|
|
221
|
+
readonly "vitest/no-standalone-expect": "warn";
|
|
222
|
+
readonly "vitest/no-test-prefixes": "warn";
|
|
223
|
+
readonly "vitest/no-test-return-statement": "warn";
|
|
224
|
+
readonly "vitest/prefer-called-with": "warn";
|
|
225
|
+
readonly "vitest/prefer-to-be-falsy": "off";
|
|
226
|
+
readonly "vitest/prefer-to-be-object": "warn";
|
|
227
|
+
readonly "vitest/prefer-to-be-truthy": "off";
|
|
228
|
+
readonly "vitest/prefer-to-have-length": "warn";
|
|
229
|
+
readonly "vitest/prefer-equality-matcher": "warn";
|
|
230
|
+
readonly "vitest/prefer-strict-equal": "warn";
|
|
231
|
+
readonly "vitest/prefer-expect-resolves": "warn";
|
|
232
|
+
readonly "vitest/prefer-each": "warn";
|
|
233
|
+
readonly "vitest/prefer-hooks-on-top": "warn";
|
|
234
|
+
readonly "vitest/prefer-hooks-in-order": "warn";
|
|
235
|
+
readonly "vitest/prefer-mock-promise-shorthand": "warn";
|
|
236
|
+
readonly "vitest/prefer-vi-mocked": "warn";
|
|
237
|
+
readonly "vitest/prefer-snapshot-hint": "warn";
|
|
238
|
+
readonly "vitest/require-top-level-describe": "warn";
|
|
239
|
+
readonly "vitest/require-to-throw-message": "warn";
|
|
240
|
+
readonly "vitest/require-hook": "warn";
|
|
241
|
+
readonly "vitest/prefer-todo": "warn";
|
|
242
|
+
readonly "vitest/prefer-spy-on": "warn";
|
|
243
|
+
readonly "vitest/prefer-comparison-matcher": "warn";
|
|
244
|
+
readonly "vitest/prefer-to-contain": "warn";
|
|
245
|
+
readonly "vitest/prefer-expect-assertions": "warn";
|
|
246
|
+
readonly "vitest/prefer-to-be": "warn";
|
|
247
|
+
readonly "vitest/padding-around-after-all-blocks": "warn";
|
|
248
|
+
readonly "vitest/padding-around-after-each-blocks": "warn";
|
|
249
|
+
readonly "vitest/padding-around-all": "warn";
|
|
250
|
+
readonly "vitest/padding-around-before-all-blocks": "warn";
|
|
251
|
+
readonly "vitest/padding-around-before-each-blocks": "warn";
|
|
252
|
+
readonly "vitest/padding-around-describe-blocks": "warn";
|
|
253
|
+
readonly "vitest/padding-around-expect-groups": "warn";
|
|
254
|
+
readonly "vitest/padding-around-test-blocks": "warn";
|
|
255
|
+
readonly "vitest/valid-expect-in-promise": "warn";
|
|
256
|
+
readonly "vitest/expect-expect": "warn";
|
|
257
|
+
readonly "vitest/no-identical-title": "warn";
|
|
258
|
+
readonly "vitest/no-commented-out-tests": "warn";
|
|
259
|
+
readonly "vitest/valid-title": "warn";
|
|
260
|
+
readonly "vitest/valid-expect": "warn";
|
|
261
|
+
readonly "vitest/valid-describe-callback": "warn";
|
|
262
|
+
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "warn";
|
|
263
|
+
readonly "vitest/no-import-node-test": "warn";
|
|
264
|
+
readonly "vitest/prefer-strict-boolean-matchers": "warn";
|
|
265
|
+
readonly "vitest/require-mock-type-parameters": "warn";
|
|
205
266
|
};
|
|
206
267
|
};
|
|
207
268
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -183,25 +183,86 @@ declare const plugin: {
|
|
|
183
183
|
plugins: string[];
|
|
184
184
|
rules: {};
|
|
185
185
|
};
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
186
|
+
recommended: {
|
|
187
|
+
plugins: string[];
|
|
188
|
+
rules: {
|
|
189
|
+
readonly "vitest/expect-expect": "error";
|
|
190
|
+
readonly "vitest/no-identical-title": "error";
|
|
191
|
+
readonly "vitest/no-commented-out-tests": "error";
|
|
192
|
+
readonly "vitest/valid-title": "error";
|
|
193
|
+
readonly "vitest/valid-expect": "error";
|
|
194
|
+
readonly "vitest/valid-describe-callback": "error";
|
|
195
|
+
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "error";
|
|
196
|
+
readonly "vitest/no-import-node-test": "error";
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
all: {
|
|
200
|
+
plugins: string[];
|
|
201
|
+
rules: {
|
|
202
|
+
readonly "vitest/prefer-lowercase-title": "warn";
|
|
203
|
+
readonly "vitest/max-nested-describe": "warn";
|
|
204
|
+
readonly "vitest/no-focused-tests": "warn";
|
|
205
|
+
readonly "vitest/no-conditional-tests": "warn";
|
|
206
|
+
readonly "vitest/consistent-test-it": "warn";
|
|
207
|
+
readonly "vitest/no-hooks": "warn";
|
|
208
|
+
readonly "vitest/no-restricted-vi-methods": "warn";
|
|
209
|
+
readonly "vitest/consistent-test-filename": "warn";
|
|
210
|
+
readonly "vitest/max-expects": "warn";
|
|
211
|
+
readonly "vitest/no-alias-methods": "warn";
|
|
212
|
+
readonly "vitest/no-conditional-expect": "warn";
|
|
213
|
+
readonly "vitest/no-conditional-in-test": "warn";
|
|
214
|
+
readonly "vitest/no-disabled-tests": "warn";
|
|
215
|
+
readonly "vitest/no-done-callback": "warn";
|
|
216
|
+
readonly "vitest/no-duplicate-hooks": "warn";
|
|
217
|
+
readonly "vitest/no-large-snapshots": "warn";
|
|
218
|
+
readonly "vitest/no-interpolation-in-snapshots": "warn";
|
|
219
|
+
readonly "vitest/no-mocks-import": "warn";
|
|
220
|
+
readonly "vitest/no-restricted-matchers": "warn";
|
|
221
|
+
readonly "vitest/no-standalone-expect": "warn";
|
|
222
|
+
readonly "vitest/no-test-prefixes": "warn";
|
|
223
|
+
readonly "vitest/no-test-return-statement": "warn";
|
|
224
|
+
readonly "vitest/prefer-called-with": "warn";
|
|
225
|
+
readonly "vitest/prefer-to-be-falsy": "off";
|
|
226
|
+
readonly "vitest/prefer-to-be-object": "warn";
|
|
227
|
+
readonly "vitest/prefer-to-be-truthy": "off";
|
|
228
|
+
readonly "vitest/prefer-to-have-length": "warn";
|
|
229
|
+
readonly "vitest/prefer-equality-matcher": "warn";
|
|
230
|
+
readonly "vitest/prefer-strict-equal": "warn";
|
|
231
|
+
readonly "vitest/prefer-expect-resolves": "warn";
|
|
232
|
+
readonly "vitest/prefer-each": "warn";
|
|
233
|
+
readonly "vitest/prefer-hooks-on-top": "warn";
|
|
234
|
+
readonly "vitest/prefer-hooks-in-order": "warn";
|
|
235
|
+
readonly "vitest/prefer-mock-promise-shorthand": "warn";
|
|
236
|
+
readonly "vitest/prefer-vi-mocked": "warn";
|
|
237
|
+
readonly "vitest/prefer-snapshot-hint": "warn";
|
|
238
|
+
readonly "vitest/require-top-level-describe": "warn";
|
|
239
|
+
readonly "vitest/require-to-throw-message": "warn";
|
|
240
|
+
readonly "vitest/require-hook": "warn";
|
|
241
|
+
readonly "vitest/prefer-todo": "warn";
|
|
242
|
+
readonly "vitest/prefer-spy-on": "warn";
|
|
243
|
+
readonly "vitest/prefer-comparison-matcher": "warn";
|
|
244
|
+
readonly "vitest/prefer-to-contain": "warn";
|
|
245
|
+
readonly "vitest/prefer-expect-assertions": "warn";
|
|
246
|
+
readonly "vitest/prefer-to-be": "warn";
|
|
247
|
+
readonly "vitest/padding-around-after-all-blocks": "warn";
|
|
248
|
+
readonly "vitest/padding-around-after-each-blocks": "warn";
|
|
249
|
+
readonly "vitest/padding-around-all": "warn";
|
|
250
|
+
readonly "vitest/padding-around-before-all-blocks": "warn";
|
|
251
|
+
readonly "vitest/padding-around-before-each-blocks": "warn";
|
|
252
|
+
readonly "vitest/padding-around-describe-blocks": "warn";
|
|
253
|
+
readonly "vitest/padding-around-expect-groups": "warn";
|
|
254
|
+
readonly "vitest/padding-around-test-blocks": "warn";
|
|
255
|
+
readonly "vitest/valid-expect-in-promise": "warn";
|
|
256
|
+
readonly "vitest/expect-expect": "warn";
|
|
257
|
+
readonly "vitest/no-identical-title": "warn";
|
|
258
|
+
readonly "vitest/no-commented-out-tests": "warn";
|
|
259
|
+
readonly "vitest/valid-title": "warn";
|
|
260
|
+
readonly "vitest/valid-expect": "warn";
|
|
261
|
+
readonly "vitest/valid-describe-callback": "warn";
|
|
262
|
+
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "warn";
|
|
263
|
+
readonly "vitest/no-import-node-test": "warn";
|
|
264
|
+
readonly "vitest/prefer-strict-boolean-matchers": "warn";
|
|
265
|
+
readonly "vitest/require-mock-type-parameters": "warn";
|
|
205
266
|
};
|
|
206
267
|
};
|
|
207
268
|
};
|