|
7 | 7 | }, |
8 | 8 | "devDependencies": { |
9 | 9 | <%_ if (config.includeEsLint) { _%> |
10 | | - "@eslint/compat": "^1.3.1", |
| 10 | + "@eslint/compat": "$", |
11 | 11 | <%_ if (config.includeEsLintStylistic) { _%> |
12 | | - "@stylistic/eslint-plugin": "^5.2.2", |
| 12 | + "@stylistic/eslint-plugin": "$", |
13 | 13 | <%_ } _%> |
14 | | - "@tsconfig/node22": "^22.0.2", |
15 | | - "@types/node": "^22.16.5", |
| 14 | + "@tsconfig/node24": "$", |
| 15 | + "@types/node": "$", |
16 | 16 | <%_ if (config.includeVitest) { _%> |
17 | | - "@vitest/eslint-plugin": "^1.3.4", |
| 17 | + "@vitest/eslint-plugin": "$", |
18 | 18 | <%_ } _%> |
19 | | - "@vue/eslint-config-typescript": "^14.6.0", |
20 | | - "eslint": "^9.31.0", |
21 | | - "eslint-plugin-vue": "~10.3.0", |
22 | | - "jiti": "^2.4.2", |
23 | | - "lint-staged": "^16.1.2", |
24 | | - "npm-run-all2": "^8.0.4", |
| 19 | + "@vue/eslint-config-typescript": "$", |
| 20 | + "eslint": "$", |
| 21 | + "eslint-plugin-vue": "$", |
| 22 | + "jiti": "$", |
| 23 | + "lint-staged": "$", |
| 24 | + "npm-run-all2": "$", |
25 | 25 | <%_ } _%> |
26 | | - "simple-git-hooks": "^2.13.0", |
| 26 | + "simple-git-hooks": "$", |
27 | 27 | <%_ if (config.includeEsLint) { _%> |
28 | | - "typescript": "~5.8.0" |
| 28 | + "typescript": "$" |
29 | 29 | <%_ } _%> |
30 | 30 | }, |
31 | 31 | "scripts": { |
|
45 | 45 | "type-check": "run-p type-check:*", |
46 | 46 | "type-check:packages": "pnpm run -r type-check", |
47 | 47 | "type-check:self": "tsc", |
48 | | - "lint": "eslint", |
49 | | - "lint:fix": "eslint --fix", |
| 48 | + "lint": "eslint --cache", |
| 49 | + "lint:fix": "eslint --fix --cache", |
50 | 50 | "lint:staged": "lint-staged", |
51 | 51 | <%_ } else { _%> |
52 | 52 | "type-check": "pnpm run -r type-check", |
|
60 | 60 | "pre-commit": "pnpm exec run-s type-check lint:staged" |
61 | 61 | }, |
62 | 62 | "lint-staged": { |
63 | | - "*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --fix" |
| 63 | + "*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --fix --cache" |
64 | 64 | } |
65 | 65 | <%_ } else { _%> |
66 | 66 | "simple-git-hooks": { |
|
0 commit comments