@will-stone/eslint-config 12.0.0 → 12.0.1

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.
Files changed (2) hide show
  1. package/dist/index.js +37 -2
  2. package/package.json +17 -17
package/dist/index.js CHANGED
@@ -1362,8 +1362,43 @@ function vitest(_options) {
1362
1362
  name: "will-stone/vitest",
1363
1363
  plugins: { vitest: fixupPluginRules2(pluginVitest) },
1364
1364
  rules: {
1365
- // For now, I will turn on all rules and tweak them below.
1366
- ...pluginVitest.configs.all.rules,
1365
+ "vitest/consistent-test-filename": "warn",
1366
+ "vitest/consistent-test-it": "warn",
1367
+ "vitest/max-nested-describe": "warn",
1368
+ "vitest/no-alias-methods": "warn",
1369
+ "vitest/no-conditional-expect": "warn",
1370
+ "vitest/no-conditional-in-test": "warn",
1371
+ "vitest/no-conditional-tests": "warn",
1372
+ "vitest/no-disabled-tests": "warn",
1373
+ "vitest/no-duplicate-hooks": "warn",
1374
+ "vitest/no-focused-tests": "warn",
1375
+ "vitest/no-interpolation-in-snapshots": "warn",
1376
+ "vitest/no-large-snapshots": "warn",
1377
+ "vitest/no-mocks-import": "warn",
1378
+ "vitest/no-restricted-matchers": "warn",
1379
+ "vitest/no-restricted-vi-methods": "warn",
1380
+ "vitest/no-standalone-expect": "warn",
1381
+ "vitest/no-test-prefixes": "warn",
1382
+ "vitest/no-test-return-statement": "warn",
1383
+ "vitest/prefer-called-with": "warn",
1384
+ "vitest/prefer-comparison-matcher": "warn",
1385
+ "vitest/prefer-each": "warn",
1386
+ "vitest/prefer-equality-matcher": "warn",
1387
+ "vitest/prefer-expect-resolves": "warn",
1388
+ "vitest/prefer-hooks-in-order": "warn",
1389
+ "vitest/prefer-hooks-on-top": "warn",
1390
+ "vitest/prefer-lowercase-title": "warn",
1391
+ "vitest/prefer-mock-promise-shorthand": "warn",
1392
+ "vitest/prefer-snapshot-hint": "warn",
1393
+ "vitest/prefer-spy-on": "warn",
1394
+ "vitest/prefer-strict-equal": "warn",
1395
+ "vitest/prefer-to-be": "warn",
1396
+ "vitest/prefer-to-be-object": "warn",
1397
+ "vitest/prefer-to-contain": "warn",
1398
+ "vitest/prefer-to-have-length": "warn",
1399
+ "vitest/prefer-todo": "warn",
1400
+ "vitest/require-hook": "warn",
1401
+ "vitest/require-to-throw-message": "warn",
1367
1402
  "vitest/expect-expect": "error",
1368
1403
  // Expect as much as you like. Is there any benefit to limiting this?
1369
1404
  "vitest/max-expects": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@will-stone/eslint-config",
3
- "version": "12.0.0",
3
+ "version": "12.0.1",
4
4
  "description": "Will Stone's ESLint config",
5
5
  "keywords": [
6
6
  "eslint-config"
@@ -41,18 +41,18 @@
41
41
  },
42
42
  "prettier": "@will-stone/prettier-config",
43
43
  "dependencies": {
44
- "@eslint/compat": "^1.2.0",
45
- "@typescript-eslint/eslint-plugin": "^8.9.0",
46
- "@typescript-eslint/parser": "^8.9.0",
44
+ "@eslint/compat": "^1.2.2",
45
+ "@typescript-eslint/eslint-plugin": "^8.12.2",
46
+ "@typescript-eslint/parser": "^8.12.2",
47
47
  "astro-eslint-parser": "^1.0.3",
48
48
  "confusing-browser-globals": "^1.0.11",
49
49
  "eslint-config-flat-gitignore": "^0.3.0",
50
50
  "eslint-plugin-astro": "^1.3.0",
51
- "eslint-plugin-import-x": "^4.3.1",
51
+ "eslint-plugin-import-x": "^4.4.0",
52
52
  "eslint-plugin-jest": "^28.8.3",
53
- "eslint-plugin-jsx-a11y": "^6.10.0",
54
- "eslint-plugin-n": "^17.11.1",
55
- "eslint-plugin-react": "^7.37.1",
53
+ "eslint-plugin-jsx-a11y": "^6.10.2",
54
+ "eslint-plugin-n": "^17.12.0",
55
+ "eslint-plugin-react": "^7.37.2",
56
56
  "eslint-plugin-react-hooks": "^5.0.0",
57
57
  "eslint-plugin-simple-import-sort": "^12.1.1",
58
58
  "eslint-plugin-tailwindcss": "^3.17.5",
@@ -64,26 +64,26 @@
64
64
  },
65
65
  "devDependencies": {
66
66
  "@commits-with-character/conventional-changelog-preset": "^1.0.0",
67
- "@eslint/config-inspector": "^0.5.4",
68
- "@release-it/conventional-changelog": "^9.0.0",
67
+ "@eslint/config-inspector": "^0.5.6",
68
+ "@release-it/conventional-changelog": "^9.0.2",
69
69
  "@types/confusing-browser-globals": "^1.0.3",
70
70
  "@types/eslint": "^9.6.1",
71
- "@types/node": "^22.7.5",
72
- "@typescript-eslint/utils": "^8.9.0",
71
+ "@types/node": "^22.8.6",
72
+ "@typescript-eslint/utils": "^8.12.2",
73
73
  "@will-stone/prettier-config": "^8.0.1",
74
74
  "lint-staged": "^15.2.10",
75
75
  "memfs": "^4.14.0",
76
76
  "prettier": "^3.3.3",
77
- "release-it": "^17.9.0",
77
+ "release-it": "^17.10.0",
78
78
  "simple-git-hooks": "^2.11.1",
79
- "tsup": "^8.3.0",
79
+ "tsup": "^8.3.5",
80
80
  "typescript": "^5.6.3",
81
- "vitest": "^2.1.3"
81
+ "vitest": "^2.1.4"
82
82
  },
83
83
  "peerDependencies": {
84
- "eslint": ">=9.12.0"
84
+ "eslint": ">=9.14.0"
85
85
  },
86
86
  "overrides": {
87
- "eslint": ">=9.12.0"
87
+ "eslint": ">=9.14.0"
88
88
  }
89
89
  }