@rebeccastevens/eslint-config 3.2.3 → 3.2.4

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 CHANGED
@@ -2759,7 +2759,7 @@ async function tailwind(options) {
2759
2759
  async function test(options) {
2760
2760
  const { files, overrides } = options;
2761
2761
  const [pluginVitest, pluginNoOnlyTests] = (await loadPackages([
2762
- "eslint-plugin-vitest",
2762
+ "@vitest/eslint-plugin",
2763
2763
  "eslint-plugin-no-only-tests",
2764
2764
  ]));
2765
2765
  const [pluginFunctional] = await Promise.all([
package/dist/index.d.cts CHANGED
@@ -4529,6 +4529,12 @@ interface RuleOptions {
4529
4529
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
4530
4530
  */
4531
4531
  "test/expect-expect"?: Linter.RuleEntry<TestExpectExpect>;
4532
+ /**
4533
+ * Enforce padding around afterAll blocks
4534
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/index.md
4535
+ */
4536
+ "test/index"?: Linter.RuleEntry<[
4537
+ ]>;
4532
4538
  /**
4533
4539
  * enforce a maximum number of expect per test
4534
4540
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
@@ -13242,7 +13248,8 @@ type TestNoRestrictedViMethods = [
13242
13248
  type TestNoStandaloneExpect = [
13243
13249
  ] | [
13244
13250
  {
13245
- additionalTestBlockFunctions?: string[];
13251
+ additionaltestblockfunctions?: string[];
13252
+ [k: string]: unknown | undefined;
13246
13253
  }
13247
13254
  ];
13248
13255
  // ----- test/prefer-expect-assertions -----
package/dist/index.d.mts CHANGED
@@ -4529,6 +4529,12 @@ interface RuleOptions {
4529
4529
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
4530
4530
  */
4531
4531
  "test/expect-expect"?: Linter.RuleEntry<TestExpectExpect>;
4532
+ /**
4533
+ * Enforce padding around afterAll blocks
4534
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/index.md
4535
+ */
4536
+ "test/index"?: Linter.RuleEntry<[
4537
+ ]>;
4532
4538
  /**
4533
4539
  * enforce a maximum number of expect per test
4534
4540
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
@@ -13242,7 +13248,8 @@ type TestNoRestrictedViMethods = [
13242
13248
  type TestNoStandaloneExpect = [
13243
13249
  ] | [
13244
13250
  {
13245
- additionalTestBlockFunctions?: string[];
13251
+ additionaltestblockfunctions?: string[];
13252
+ [k: string]: unknown | undefined;
13246
13253
  }
13247
13254
  ];
13248
13255
  // ----- test/prefer-expect-assertions -----
package/dist/index.mjs CHANGED
@@ -2737,7 +2737,7 @@ async function tailwind(options) {
2737
2737
  async function test(options) {
2738
2738
  const { files, overrides } = options;
2739
2739
  const [pluginVitest, pluginNoOnlyTests] = (await loadPackages([
2740
- "eslint-plugin-vitest",
2740
+ "@vitest/eslint-plugin",
2741
2741
  "eslint-plugin-no-only-tests",
2742
2742
  ]));
2743
2743
  const [pluginFunctional] = await Promise.all([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"
@@ -79,6 +79,7 @@
79
79
  "@typescript-eslint/parser": "8.8.0",
80
80
  "@typescript-eslint/utils": "8.8.0",
81
81
  "@unocss/eslint-plugin": "0.63.1",
82
+ "@vitest/eslint-plugin": "1.0.1",
82
83
  "commitizen": "4.3.0",
83
84
  "cspell": "8.14.4",
84
85
  "cz-conventional-changelog": "3.3.0",
@@ -110,7 +111,6 @@
110
111
  "eslint-plugin-tailwindcss": "3.17.4",
111
112
  "eslint-plugin-toml": "0.11.1",
112
113
  "eslint-plugin-unicorn": "55.0.0",
113
- "eslint-plugin-vitest": "0.5.4",
114
114
  "eslint-plugin-vue": "9.27.0",
115
115
  "eslint-plugin-yml": "1.14.0",
116
116
  "eslint-processor-vue-blocks": "0.1.2",
@@ -141,6 +141,7 @@
141
141
  "@typescript-eslint/parser": "*",
142
142
  "@typescript-eslint/utils": "*",
143
143
  "@unocss/eslint-plugin": "*",
144
+ "@vitest/eslint-plugin": "*",
144
145
  "eslint": "*",
145
146
  "eslint-config-prettier": "*",
146
147
  "eslint-flat-config-utils": "*",
@@ -165,7 +166,6 @@
165
166
  "eslint-plugin-tailwindcss": "*",
166
167
  "eslint-plugin-toml": "*",
167
168
  "eslint-plugin-unicorn": "*",
168
- "eslint-plugin-vitest": "*",
169
169
  "eslint-plugin-vue": "*",
170
170
  "eslint-plugin-yml": "*",
171
171
  "eslint-processor-vue-blocks": "*",
@@ -195,6 +195,9 @@
195
195
  "@unocss/eslint-plugin": {
196
196
  "optional": true
197
197
  },
198
+ "@vitest/eslint-plugin": {
199
+ "optional": true
200
+ },
198
201
  "eslint-config-prettier": {
199
202
  "optional": true
200
203
  },
@@ -273,9 +276,6 @@
273
276
  "eslint-plugin-unicorn": {
274
277
  "optional": true
275
278
  },
276
- "eslint-plugin-vitest": {
277
- "optional": true
278
- },
279
279
  "eslint-plugin-vue": {
280
280
  "optional": true
281
281
  },