@vitest/eslint-plugin 1.6.11 → 1.6.13
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 +1 -0
- package/dist/index.cjs +326 -261
- package/dist/index.d.cts +5 -4
- package/dist/index.d.mts +5 -4
- package/dist/index.mjs +325 -260
- package/package.json +5 -1
package/dist/index.d.cts
CHANGED
|
@@ -46,10 +46,10 @@ declare const plugin: {
|
|
|
46
46
|
};
|
|
47
47
|
readonly rules: {
|
|
48
48
|
readonly "vitest/expect-expect": "error";
|
|
49
|
+
readonly "vitest/no-commented-out-tests": "error";
|
|
49
50
|
readonly "vitest/no-conditional-expect": "error";
|
|
50
51
|
readonly "vitest/no-disabled-tests": "warn";
|
|
51
52
|
readonly "vitest/no-focused-tests": "error";
|
|
52
|
-
readonly "vitest/no-commented-out-tests": "error";
|
|
53
53
|
readonly "vitest/no-identical-title": "error";
|
|
54
54
|
readonly "vitest/no-import-node-test": "error";
|
|
55
55
|
readonly "vitest/no-interpolation-in-snapshots": "error";
|
|
@@ -70,9 +70,9 @@ declare const plugin: {
|
|
|
70
70
|
readonly vitest: ESLint.Plugin;
|
|
71
71
|
};
|
|
72
72
|
readonly rules: {
|
|
73
|
+
readonly "vitest/consistent-each-for": "warn";
|
|
73
74
|
readonly "vitest/consistent-test-filename": "warn";
|
|
74
75
|
readonly "vitest/consistent-test-it": "warn";
|
|
75
|
-
readonly "vitest/consistent-each-for": "warn";
|
|
76
76
|
readonly "vitest/consistent-vitest-vi": "warn";
|
|
77
77
|
readonly "vitest/expect-expect": "warn";
|
|
78
78
|
readonly "vitest/hoisted-apis-on-top": "warn";
|
|
@@ -137,17 +137,18 @@ declare const plugin: {
|
|
|
137
137
|
readonly "vitest/prefer-to-have-length": "warn";
|
|
138
138
|
readonly "vitest/prefer-todo": "warn";
|
|
139
139
|
readonly "vitest/prefer-vi-mocked": "warn";
|
|
140
|
+
readonly "vitest/require-awaited-expect-poll": "warn";
|
|
140
141
|
readonly "vitest/require-hook": "warn";
|
|
141
142
|
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "warn";
|
|
142
143
|
readonly "vitest/require-mock-type-parameters": "warn";
|
|
144
|
+
readonly "vitest/require-test-timeout": "off";
|
|
143
145
|
readonly "vitest/require-to-throw-message": "warn";
|
|
144
146
|
readonly "vitest/require-top-level-describe": "warn";
|
|
147
|
+
readonly "vitest/unbound-method": "warn";
|
|
145
148
|
readonly "vitest/valid-describe-callback": "warn";
|
|
146
149
|
readonly "vitest/valid-expect-in-promise": "warn";
|
|
147
150
|
readonly "vitest/valid-expect": "warn";
|
|
148
151
|
readonly "vitest/valid-title": "warn";
|
|
149
|
-
readonly "vitest/require-awaited-expect-poll": "warn";
|
|
150
|
-
readonly "vitest/require-test-timeout": "off";
|
|
151
152
|
};
|
|
152
153
|
};
|
|
153
154
|
readonly env: {
|
package/dist/index.d.mts
CHANGED
|
@@ -46,10 +46,10 @@ declare const plugin: {
|
|
|
46
46
|
};
|
|
47
47
|
readonly rules: {
|
|
48
48
|
readonly "vitest/expect-expect": "error";
|
|
49
|
+
readonly "vitest/no-commented-out-tests": "error";
|
|
49
50
|
readonly "vitest/no-conditional-expect": "error";
|
|
50
51
|
readonly "vitest/no-disabled-tests": "warn";
|
|
51
52
|
readonly "vitest/no-focused-tests": "error";
|
|
52
|
-
readonly "vitest/no-commented-out-tests": "error";
|
|
53
53
|
readonly "vitest/no-identical-title": "error";
|
|
54
54
|
readonly "vitest/no-import-node-test": "error";
|
|
55
55
|
readonly "vitest/no-interpolation-in-snapshots": "error";
|
|
@@ -70,9 +70,9 @@ declare const plugin: {
|
|
|
70
70
|
readonly vitest: ESLint.Plugin;
|
|
71
71
|
};
|
|
72
72
|
readonly rules: {
|
|
73
|
+
readonly "vitest/consistent-each-for": "warn";
|
|
73
74
|
readonly "vitest/consistent-test-filename": "warn";
|
|
74
75
|
readonly "vitest/consistent-test-it": "warn";
|
|
75
|
-
readonly "vitest/consistent-each-for": "warn";
|
|
76
76
|
readonly "vitest/consistent-vitest-vi": "warn";
|
|
77
77
|
readonly "vitest/expect-expect": "warn";
|
|
78
78
|
readonly "vitest/hoisted-apis-on-top": "warn";
|
|
@@ -137,17 +137,18 @@ declare const plugin: {
|
|
|
137
137
|
readonly "vitest/prefer-to-have-length": "warn";
|
|
138
138
|
readonly "vitest/prefer-todo": "warn";
|
|
139
139
|
readonly "vitest/prefer-vi-mocked": "warn";
|
|
140
|
+
readonly "vitest/require-awaited-expect-poll": "warn";
|
|
140
141
|
readonly "vitest/require-hook": "warn";
|
|
141
142
|
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "warn";
|
|
142
143
|
readonly "vitest/require-mock-type-parameters": "warn";
|
|
144
|
+
readonly "vitest/require-test-timeout": "off";
|
|
143
145
|
readonly "vitest/require-to-throw-message": "warn";
|
|
144
146
|
readonly "vitest/require-top-level-describe": "warn";
|
|
147
|
+
readonly "vitest/unbound-method": "warn";
|
|
145
148
|
readonly "vitest/valid-describe-callback": "warn";
|
|
146
149
|
readonly "vitest/valid-expect-in-promise": "warn";
|
|
147
150
|
readonly "vitest/valid-expect": "warn";
|
|
148
151
|
readonly "vitest/valid-title": "warn";
|
|
149
|
-
readonly "vitest/require-awaited-expect-poll": "warn";
|
|
150
|
-
readonly "vitest/require-test-timeout": "off";
|
|
151
152
|
};
|
|
152
153
|
};
|
|
153
154
|
readonly env: {
|