Commit 044d1d5
committed
chore: upgrade ESLint and TypeScript tooling
Upgrade the root development tooling:
- eslint to 10.3.0
- typescript to 6.0.3
- typescript-eslint and @typescript-eslint/rule-tester to 8.59.3
- eslint-config-prettier to 10.1.8
- eslint-plugin-prettier to 5.5.5
- eslint-plugin-unused-imports to 4.4.1
- @types/eslint to 9.6.1
- @types/estree to 1.0.9
- @types/node to 24.12.4
Refresh yarn.lock for the updated dependency graph.
Compatibility changes:
- Allow ESLint 10 in @softarc/eslint-plugin-sheriff peer dependencies.
- Add TypeScript 6 deprecation acknowledgement in tsconfig.base.json.
- Replace Array.prototype.at() usage in library code so the current es2017 lib still type-checks.
- Update ESLint rule context access to use current ESLint 10 properties instead of removed/deprecated methods.
Verification performed:
- yarn lint:all passed.
- ./node_modules/.bin/tsc -p packages/core/tsconfig.lib.json --noEmit passed.
- ./node_modules/.bin/tsc -p packages/eslint-plugin/tsconfig.lib.json --noEmit passed.
- yarn vitest --run passed: 43 files, 347 passed, 2 skipped.
Known remaining environment/test notes:
- yarn test:ci still fails in the full integration specs because built package resolution cannot find @softarc/sheriff-core.
- yarn build:all could not complete in the Codex sandbox because Nx project graph/daemon handling failed around Unix socket/plugin-worker startup.
- Direct TypeScript package checks passed, so the dependency migration itself is type-safe in this workspace.
Session context for resuming:
This was done after checking current npm registry metadata for ESLint, TypeScript, and typescript-eslint. The compatible path identified was ESLint 10.3.0, TypeScript 6.0.3, and typescript-eslint 8.59.3, whose peer ranges include ESLint 10 and TypeScript >=4.8.4 <6.1.0.1 parent 33a7db4 commit 044d1d5
7 files changed
Lines changed: 388 additions & 299 deletions
File tree
- packages
- core/src/lib
- fs
- modules
- eslint-plugin
- src/lib/rules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments