@vitest/eslint-plugin 1.3.13 → 1.3.14
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/README.md +76 -73
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +9 -0
- package/dist/index.d.mts +9 -0
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -190,6 +190,7 @@ declare const plugin: {
|
|
|
190
190
|
readonly "prefer-called-times": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledTimes", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
191
191
|
readonly "prefer-expect-type-of": _typescript_eslint_utils_ts_eslint.RuleModule<"preferExpectTypeOf", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
192
192
|
readonly "warn-todo": _typescript_eslint_utils_ts_eslint.RuleModule<"warnTodo", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
193
|
+
readonly "prefer-called-exactly-once-with": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledExactlyOnceWith", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
193
194
|
};
|
|
194
195
|
readonly environments: {
|
|
195
196
|
readonly env: {
|
|
@@ -355,6 +356,7 @@ declare const plugin: {
|
|
|
355
356
|
readonly "prefer-called-times": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledTimes", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
356
357
|
readonly "prefer-expect-type-of": _typescript_eslint_utils_ts_eslint.RuleModule<"preferExpectTypeOf", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
357
358
|
readonly "warn-todo": _typescript_eslint_utils_ts_eslint.RuleModule<"warnTodo", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
359
|
+
readonly "prefer-called-exactly-once-with": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledExactlyOnceWith", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
358
360
|
};
|
|
359
361
|
readonly environments: {
|
|
360
362
|
readonly env: {
|
|
@@ -402,6 +404,7 @@ declare const plugin: {
|
|
|
402
404
|
readonly "vitest/valid-describe-callback": "error";
|
|
403
405
|
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "error";
|
|
404
406
|
readonly "vitest/no-import-node-test": "error";
|
|
407
|
+
readonly "vitest/prefer-called-exactly-once-with": "error";
|
|
405
408
|
};
|
|
406
409
|
};
|
|
407
410
|
readonly all: {
|
|
@@ -482,6 +485,7 @@ declare const plugin: {
|
|
|
482
485
|
readonly "vitest/prefer-called-times": "warn";
|
|
483
486
|
readonly "vitest/prefer-expect-type-of": "warn";
|
|
484
487
|
readonly "vitest/hoisted-apis-on-top": "warn";
|
|
488
|
+
readonly "vitest/prefer-called-exactly-once-with": "warn";
|
|
485
489
|
};
|
|
486
490
|
};
|
|
487
491
|
readonly env: {
|
|
@@ -520,6 +524,7 @@ declare const plugin: {
|
|
|
520
524
|
readonly "vitest/valid-describe-callback": "error";
|
|
521
525
|
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "error";
|
|
522
526
|
readonly "vitest/no-import-node-test": "error";
|
|
527
|
+
readonly "vitest/prefer-called-exactly-once-with": "error";
|
|
523
528
|
};
|
|
524
529
|
};
|
|
525
530
|
readonly all: {
|
|
@@ -654,6 +659,7 @@ declare const plugin: {
|
|
|
654
659
|
readonly "prefer-called-times": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledTimes", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
655
660
|
readonly "prefer-expect-type-of": _typescript_eslint_utils_ts_eslint.RuleModule<"preferExpectTypeOf", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
656
661
|
readonly "warn-todo": _typescript_eslint_utils_ts_eslint.RuleModule<"warnTodo", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
662
|
+
readonly "prefer-called-exactly-once-with": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledExactlyOnceWith", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
657
663
|
};
|
|
658
664
|
readonly environments: {
|
|
659
665
|
readonly env: {
|
|
@@ -701,6 +707,7 @@ declare const plugin: {
|
|
|
701
707
|
readonly "vitest/valid-describe-callback": "error";
|
|
702
708
|
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "error";
|
|
703
709
|
readonly "vitest/no-import-node-test": "error";
|
|
710
|
+
readonly "vitest/prefer-called-exactly-once-with": "error";
|
|
704
711
|
};
|
|
705
712
|
};
|
|
706
713
|
readonly all: {
|
|
@@ -781,6 +788,7 @@ declare const plugin: {
|
|
|
781
788
|
readonly "vitest/prefer-called-times": "warn";
|
|
782
789
|
readonly "vitest/prefer-expect-type-of": "warn";
|
|
783
790
|
readonly "vitest/hoisted-apis-on-top": "warn";
|
|
791
|
+
readonly "vitest/prefer-called-exactly-once-with": "warn";
|
|
784
792
|
};
|
|
785
793
|
};
|
|
786
794
|
readonly env: {
|
|
@@ -883,6 +891,7 @@ declare const plugin: {
|
|
|
883
891
|
readonly "vitest/prefer-called-times": "warn";
|
|
884
892
|
readonly "vitest/prefer-expect-type-of": "warn";
|
|
885
893
|
readonly "vitest/hoisted-apis-on-top": "warn";
|
|
894
|
+
readonly "vitest/prefer-called-exactly-once-with": "warn";
|
|
886
895
|
};
|
|
887
896
|
};
|
|
888
897
|
readonly env: {
|
package/dist/index.d.mts
CHANGED
|
@@ -190,6 +190,7 @@ declare const plugin: {
|
|
|
190
190
|
readonly "prefer-called-times": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledTimes", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
191
191
|
readonly "prefer-expect-type-of": _typescript_eslint_utils_ts_eslint.RuleModule<"preferExpectTypeOf", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
192
192
|
readonly "warn-todo": _typescript_eslint_utils_ts_eslint.RuleModule<"warnTodo", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
193
|
+
readonly "prefer-called-exactly-once-with": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledExactlyOnceWith", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
193
194
|
};
|
|
194
195
|
readonly environments: {
|
|
195
196
|
readonly env: {
|
|
@@ -355,6 +356,7 @@ declare const plugin: {
|
|
|
355
356
|
readonly "prefer-called-times": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledTimes", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
356
357
|
readonly "prefer-expect-type-of": _typescript_eslint_utils_ts_eslint.RuleModule<"preferExpectTypeOf", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
357
358
|
readonly "warn-todo": _typescript_eslint_utils_ts_eslint.RuleModule<"warnTodo", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
359
|
+
readonly "prefer-called-exactly-once-with": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledExactlyOnceWith", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
358
360
|
};
|
|
359
361
|
readonly environments: {
|
|
360
362
|
readonly env: {
|
|
@@ -402,6 +404,7 @@ declare const plugin: {
|
|
|
402
404
|
readonly "vitest/valid-describe-callback": "error";
|
|
403
405
|
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "error";
|
|
404
406
|
readonly "vitest/no-import-node-test": "error";
|
|
407
|
+
readonly "vitest/prefer-called-exactly-once-with": "error";
|
|
405
408
|
};
|
|
406
409
|
};
|
|
407
410
|
readonly all: {
|
|
@@ -482,6 +485,7 @@ declare const plugin: {
|
|
|
482
485
|
readonly "vitest/prefer-called-times": "warn";
|
|
483
486
|
readonly "vitest/prefer-expect-type-of": "warn";
|
|
484
487
|
readonly "vitest/hoisted-apis-on-top": "warn";
|
|
488
|
+
readonly "vitest/prefer-called-exactly-once-with": "warn";
|
|
485
489
|
};
|
|
486
490
|
};
|
|
487
491
|
readonly env: {
|
|
@@ -520,6 +524,7 @@ declare const plugin: {
|
|
|
520
524
|
readonly "vitest/valid-describe-callback": "error";
|
|
521
525
|
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "error";
|
|
522
526
|
readonly "vitest/no-import-node-test": "error";
|
|
527
|
+
readonly "vitest/prefer-called-exactly-once-with": "error";
|
|
523
528
|
};
|
|
524
529
|
};
|
|
525
530
|
readonly all: {
|
|
@@ -654,6 +659,7 @@ declare const plugin: {
|
|
|
654
659
|
readonly "prefer-called-times": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledTimes", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
655
660
|
readonly "prefer-expect-type-of": _typescript_eslint_utils_ts_eslint.RuleModule<"preferExpectTypeOf", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
656
661
|
readonly "warn-todo": _typescript_eslint_utils_ts_eslint.RuleModule<"warnTodo", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
662
|
+
readonly "prefer-called-exactly-once-with": _typescript_eslint_utils_ts_eslint.RuleModule<"preferCalledExactlyOnceWith", [], PluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
657
663
|
};
|
|
658
664
|
readonly environments: {
|
|
659
665
|
readonly env: {
|
|
@@ -701,6 +707,7 @@ declare const plugin: {
|
|
|
701
707
|
readonly "vitest/valid-describe-callback": "error";
|
|
702
708
|
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "error";
|
|
703
709
|
readonly "vitest/no-import-node-test": "error";
|
|
710
|
+
readonly "vitest/prefer-called-exactly-once-with": "error";
|
|
704
711
|
};
|
|
705
712
|
};
|
|
706
713
|
readonly all: {
|
|
@@ -781,6 +788,7 @@ declare const plugin: {
|
|
|
781
788
|
readonly "vitest/prefer-called-times": "warn";
|
|
782
789
|
readonly "vitest/prefer-expect-type-of": "warn";
|
|
783
790
|
readonly "vitest/hoisted-apis-on-top": "warn";
|
|
791
|
+
readonly "vitest/prefer-called-exactly-once-with": "warn";
|
|
784
792
|
};
|
|
785
793
|
};
|
|
786
794
|
readonly env: {
|
|
@@ -883,6 +891,7 @@ declare const plugin: {
|
|
|
883
891
|
readonly "vitest/prefer-called-times": "warn";
|
|
884
892
|
readonly "vitest/prefer-expect-type-of": "warn";
|
|
885
893
|
readonly "vitest/hoisted-apis-on-top": "warn";
|
|
894
|
+
readonly "vitest/prefer-called-exactly-once-with": "warn";
|
|
886
895
|
};
|
|
887
896
|
};
|
|
888
897
|
readonly env: {
|