@vitest/eslint-plugin 1.2.4 → 1.2.7
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 +4 -4
- package/dist/index.d.cts +3 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.mjs +3 -3
- package/package.json +12 -8
package/dist/index.d.cts
CHANGED
|
@@ -14,6 +14,7 @@ declare const plugin: {
|
|
|
14
14
|
"no-conditional-tests": eslint.Rule.RuleModule;
|
|
15
15
|
"expect-expect": eslint.Rule.RuleModule;
|
|
16
16
|
"consistent-test-it": eslint.Rule.RuleModule;
|
|
17
|
+
"consistent-vitest-vi": eslint.Rule.RuleModule;
|
|
17
18
|
"prefer-to-be": eslint.Rule.RuleModule;
|
|
18
19
|
"no-hooks": eslint.Rule.RuleModule;
|
|
19
20
|
"no-restricted-vi-methods": eslint.Rule.RuleModule;
|
|
@@ -134,6 +135,7 @@ declare const plugin: {
|
|
|
134
135
|
readonly "vitest/no-focused-tests": "warn";
|
|
135
136
|
readonly "vitest/no-conditional-tests": "warn";
|
|
136
137
|
readonly "vitest/consistent-test-it": "warn";
|
|
138
|
+
readonly "vitest/consistent-vitest-vi": "warn";
|
|
137
139
|
readonly "vitest/no-hooks": "warn";
|
|
138
140
|
readonly "vitest/no-restricted-vi-methods": "warn";
|
|
139
141
|
readonly "vitest/consistent-test-filename": "warn";
|
|
@@ -194,7 +196,7 @@ declare const plugin: {
|
|
|
194
196
|
readonly "vitest/no-import-node-test": "warn";
|
|
195
197
|
readonly "vitest/prefer-strict-boolean-matchers": "warn";
|
|
196
198
|
readonly "vitest/require-mock-type-parameters": "warn";
|
|
197
|
-
readonly "vitest/no-importing-vitest-globals": "
|
|
199
|
+
readonly "vitest/no-importing-vitest-globals": "off";
|
|
198
200
|
readonly "vitest/prefer-importing-vitest-globals": "warn";
|
|
199
201
|
};
|
|
200
202
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -14,6 +14,7 @@ declare const plugin: {
|
|
|
14
14
|
"no-conditional-tests": eslint.Rule.RuleModule;
|
|
15
15
|
"expect-expect": eslint.Rule.RuleModule;
|
|
16
16
|
"consistent-test-it": eslint.Rule.RuleModule;
|
|
17
|
+
"consistent-vitest-vi": eslint.Rule.RuleModule;
|
|
17
18
|
"prefer-to-be": eslint.Rule.RuleModule;
|
|
18
19
|
"no-hooks": eslint.Rule.RuleModule;
|
|
19
20
|
"no-restricted-vi-methods": eslint.Rule.RuleModule;
|
|
@@ -134,6 +135,7 @@ declare const plugin: {
|
|
|
134
135
|
readonly "vitest/no-focused-tests": "warn";
|
|
135
136
|
readonly "vitest/no-conditional-tests": "warn";
|
|
136
137
|
readonly "vitest/consistent-test-it": "warn";
|
|
138
|
+
readonly "vitest/consistent-vitest-vi": "warn";
|
|
137
139
|
readonly "vitest/no-hooks": "warn";
|
|
138
140
|
readonly "vitest/no-restricted-vi-methods": "warn";
|
|
139
141
|
readonly "vitest/consistent-test-filename": "warn";
|
|
@@ -194,7 +196,7 @@ declare const plugin: {
|
|
|
194
196
|
readonly "vitest/no-import-node-test": "warn";
|
|
195
197
|
readonly "vitest/prefer-strict-boolean-matchers": "warn";
|
|
196
198
|
readonly "vitest/require-mock-type-parameters": "warn";
|
|
197
|
-
readonly "vitest/no-importing-vitest-globals": "
|
|
199
|
+
readonly "vitest/no-importing-vitest-globals": "off";
|
|
198
200
|
readonly "vitest/prefer-importing-vitest-globals": "warn";
|
|
199
201
|
};
|
|
200
202
|
};
|