eslint-config-two-stroke 1.4.5 → 1.5.0

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/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import typescriptEslint from "typescript-eslint";
2
- import vitest from "eslint-plugin-vitest";
3
2
  import nodePlugin from "eslint-plugin-n";
4
3
  import js from "@eslint/js";
5
4
  import eslintConfigPrettier from "eslint-config-prettier";
@@ -42,17 +41,12 @@ export default [
42
41
  },
43
42
  {
44
43
  files: ["**/*.test.ts", "**/*.test.tsx", "./src/__tests__/**/*.ts"],
45
- ...vitest.configs.recommended,
46
44
  rules: {
47
- ...vitest.configs.recommended.rules,
48
45
  "@typescript-eslint/no-unsafe-assignment": "off",
49
46
  "@typescript-eslint/no-unsafe-member-access": "off",
50
47
  "@typescript-eslint/no-explicit-any": "off",
51
48
  "@typescript-eslint/no-non-null-assertion": "off",
52
49
  "@typescript-eslint/ban-ts-comment": "off",
53
- "vitest/no-export": "off",
54
- "vitest/expect-expect": "off",
55
- "vitest/no-conditional-expect": "off",
56
50
  },
57
51
  },
58
52
  eslintConfigPrettier,
package/package.json CHANGED
@@ -2,33 +2,31 @@
2
2
  "name": "eslint-config-two-stroke",
3
3
  "description": "eslint settings for two-stroke.",
4
4
  "license": "MIT",
5
- "version": "1.4.5",
5
+ "version": "1.5.0",
6
6
  "main": "index.js",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/change-engine/eslint-config-two-stroke"
10
10
  },
11
11
  "dependencies": {
12
- "@eslint/compat": "^2.0.2",
13
- "@eslint/js": "^9.39.2",
14
- "@typescript-eslint/eslint-plugin": "^8.55.0",
15
- "@typescript-eslint/parser": "^8.55.0",
12
+ "@eslint/compat": "^2.0.3",
13
+ "@eslint/js": "^10.0.1",
14
+ "@typescript-eslint/eslint-plugin": "^8.57.1",
15
+ "@typescript-eslint/parser": "^8.57.1",
16
16
  "eslint-config-prettier": "^10.1.8",
17
17
  "eslint-config-typescript": "^3.0.0",
18
- "eslint-plugin-n": "^17.23.2",
18
+ "eslint-plugin-n": "^17.24.0",
19
19
  "eslint-plugin-prettier": "^5.5.5",
20
- "eslint-plugin-vitest": "^0.5.4",
21
- "typescript-eslint": "^8.55.0"
20
+ "typescript-eslint": "^8.57.1"
22
21
  },
23
22
  "prettier": {
24
23
  "printWidth": 100
25
24
  },
26
25
  "devDependencies": {
27
- "@cloudflare/workers-types": "^4.20260210.0",
28
- "eslint": "^9.39.2",
26
+ "eslint": "^10.0.3",
29
27
  "prettier": "^3.8.1",
30
28
  "typescript": "^5.9.3",
31
- "vitest": "^4.0.18"
29
+ "vitest": "^4.1.0"
32
30
  },
33
31
  "peerDependencies": {
34
32
  "eslint": ">=9",
package/tsconfig.json CHANGED
@@ -11,6 +11,6 @@
11
11
  "skipLibCheck": true,
12
12
  "strict": true,
13
13
  "target": "ESNext",
14
- "types": ["@cloudflare/workers-types", "vitest/globals"]
14
+ "types": ["vitest/globals"]
15
15
  }
16
16
  }