Commit 51f916c
committed
Adopt @microbit/eslint-config
Replaces the local flat config with the shared one, moving to ESLint 10
and type-checked linting via the project service. eslint, @eslint/js,
globals and typescript-eslint are no longer individually managed here.
Fixes everything the new rules surfaced rather than carrying overrides:
@ts-ignore in tests becomes described @ts-expect-error, hasOwnProperty
calls go through Object.prototype, bytes read from the hex are typed as
their enums, the import-hex error message joins its filename array
explicitly, a dead runtimeEndAddress computation goes, and the
flash-regions fallback error gains a cause (lib now includes
ES2022.Error).1 parent fb6a787 commit 51f916c
10 files changed
Lines changed: 1037 additions & 377 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
4 | 2 | | |
5 | | - | |
6 | 3 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 4 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
17 | 11 | | |
| 12 | + | |
18 | 13 | | |
0 commit comments