Commit af45d9e
build: bump eslint and @typescript-eslint to v8 line
The previous @typescript-eslint 5.58 and eslint 7.32 stack predated
TypeScript 5.x, and @typescript-eslint warned at startup that the
installed TS version was not officially supported. Bump eslint to
^8.57 and @typescript-eslint to ^8.57 — the latter officially supports
TS 5.x, which matches the recent TS bump.
The v8 rename surfaces a few rule-name changes that need to be applied
where the codebase used eslint-disable comments:
- @typescript-eslint/no-var-requires → no-require-imports
- @typescript-eslint/ban-types → no-unsafe-function-type for the
Function-type uses in benchmark.js-plugin's add() overloads
Add a one-line disable for an intentionally-side-effecting expression
in benchmark.js-plugin/benches/sample.ts that the v8 recommended
config now flags as @typescript-eslint/no-unused-expressions.
Refs COD-2721
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 84a26e9 commit af45d9e
6 files changed
Lines changed: 1358 additions & 697 deletions
File tree
- packages
- benchmark.js-plugin
- benches
- src
- core
- src/native_core
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments