@vitest/eslint-plugin 1.1.8 → 1.1.9
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 +458 -206
- package/dist/index.d.cts +2 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +458 -206
- package/package.json +11 -11
package/dist/index.d.cts
CHANGED
|
@@ -68,6 +68,7 @@ declare const plugin: {
|
|
|
68
68
|
"padding-around-describe-blocks": eslint.Rule.RuleModule;
|
|
69
69
|
"padding-around-expect-groups": eslint.Rule.RuleModule;
|
|
70
70
|
"padding-around-test-blocks": eslint.Rule.RuleModule;
|
|
71
|
+
"valid-expect-in-promise": eslint.Rule.RuleModule;
|
|
71
72
|
};
|
|
72
73
|
configs: {
|
|
73
74
|
'legacy-recommended': {
|
|
@@ -151,6 +152,7 @@ declare const plugin: {
|
|
|
151
152
|
readonly "vitest/padding-around-describe-blocks": "warn";
|
|
152
153
|
readonly "vitest/padding-around-expect-groups": "warn";
|
|
153
154
|
readonly "vitest/padding-around-test-blocks": "warn";
|
|
155
|
+
readonly "vitest/valid-expect-in-promise": "warn";
|
|
154
156
|
};
|
|
155
157
|
};
|
|
156
158
|
env: {
|
package/dist/index.d.mts
CHANGED
|
@@ -68,6 +68,7 @@ declare const plugin: {
|
|
|
68
68
|
"padding-around-describe-blocks": eslint.Rule.RuleModule;
|
|
69
69
|
"padding-around-expect-groups": eslint.Rule.RuleModule;
|
|
70
70
|
"padding-around-test-blocks": eslint.Rule.RuleModule;
|
|
71
|
+
"valid-expect-in-promise": eslint.Rule.RuleModule;
|
|
71
72
|
};
|
|
72
73
|
configs: {
|
|
73
74
|
'legacy-recommended': {
|
|
@@ -151,6 +152,7 @@ declare const plugin: {
|
|
|
151
152
|
readonly "vitest/padding-around-describe-blocks": "warn";
|
|
152
153
|
readonly "vitest/padding-around-expect-groups": "warn";
|
|
153
154
|
readonly "vitest/padding-around-test-blocks": "warn";
|
|
155
|
+
readonly "vitest/valid-expect-in-promise": "warn";
|
|
154
156
|
};
|
|
155
157
|
};
|
|
156
158
|
env: {
|
package/dist/index.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ declare const plugin: {
|
|
|
68
68
|
"padding-around-describe-blocks": eslint.Rule.RuleModule;
|
|
69
69
|
"padding-around-expect-groups": eslint.Rule.RuleModule;
|
|
70
70
|
"padding-around-test-blocks": eslint.Rule.RuleModule;
|
|
71
|
+
"valid-expect-in-promise": eslint.Rule.RuleModule;
|
|
71
72
|
};
|
|
72
73
|
configs: {
|
|
73
74
|
'legacy-recommended': {
|
|
@@ -151,6 +152,7 @@ declare const plugin: {
|
|
|
151
152
|
readonly "vitest/padding-around-describe-blocks": "warn";
|
|
152
153
|
readonly "vitest/padding-around-expect-groups": "warn";
|
|
153
154
|
readonly "vitest/padding-around-test-blocks": "warn";
|
|
155
|
+
readonly "vitest/valid-expect-in-promise": "warn";
|
|
154
156
|
};
|
|
155
157
|
};
|
|
156
158
|
env: {
|