@vitest/eslint-plugin 1.1.6 → 1.1.8

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
@@ -23,7 +23,7 @@ function _interopNamespaceCompat(e) {
23
23
  const path__namespace = /*#__PURE__*/_interopNamespaceCompat(path);
24
24
  const ts__default = /*#__PURE__*/_interopDefaultCompat(ts);
25
25
 
26
- const version = "1.1.5";
26
+ const version = "1.1.7";
27
27
 
28
28
  function createEslintRule(rule) {
29
29
  const createRule = utils.ESLintUtils.RuleCreator(
@@ -754,7 +754,7 @@ const expectExpect = createEslintRule({
754
754
  properties: {
755
755
  assertFunctionNames: {
756
756
  type: "array",
757
- items: [{ type: "string" }]
757
+ items: { type: "string" }
758
758
  },
759
759
  additionalTestBlockFunctions: {
760
760
  type: "array",
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { isAbsolute, posix } from 'node:path';
4
4
  import ts from 'typescript';
5
5
  import { createRequire } from 'node:module';
6
6
 
7
- const version = "1.1.5";
7
+ const version = "1.1.7";
8
8
 
9
9
  function createEslintRule(rule) {
10
10
  const createRule = ESLintUtils.RuleCreator(
@@ -735,7 +735,7 @@ const expectExpect = createEslintRule({
735
735
  properties: {
736
736
  assertFunctionNames: {
737
737
  type: "array",
738
- items: [{ type: "string" }]
738
+ items: { type: "string" }
739
739
  },
740
740
  additionalTestBlockFunctions: {
741
741
  type: "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitest/eslint-plugin",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "license": "MIT",
5
5
  "description": "Eslint plugin for vitest",
6
6
  "repository": "vitest-dev/eslint-plugin-vitest",
@@ -59,6 +59,9 @@
59
59
  "peerDependenciesMeta": {
60
60
  "typescript": {
61
61
  "optional": true
62
+ },
63
+ "vitest": {
64
+ "optional": true
62
65
  }
63
66
  },
64
67
  "scripts": {