Commit bf5d8d5
authored
upgrade eslint (#43)
* chore(eslint): migrate config to flat config and update deps
Migrate ESLint configuration from the legacy `.eslintrc.js` to the new
flat config format in `eslint.config.mjs`. Update ESLint and related
dependencies to latest compatible versions. Adjust rules and plugin
usage to match new config structure. This improves compatibility with
ESLint 9+ and ensures up-to-date linting standards.
* fix: resolve errors after upgrade to ESLint 9.0
Refactor settings and commands modules to use flat exports instead of
namespaces. Update all imports to match the new export style. Remove
the unused protocol.ts file. Improve type safety in requirements and
server modules. This simplifies code structure and aligns with latest
ESLint validation rules.
* chore: enable prettier and fix formatting issues
Fix files to include Prettier formatting.
* chore: add markdown and YAML lint config files
Add .markdownlint.yaml extending Prettier style for markdown linting.
Add .yamllint.yaml extending default rules for YAML linting.
* chore(deps): set min Node.js version to 18.x for builds
- Update Node.js version in CI matrix to 18.x, 20.x, 22.x and set .node-version to 18
- Bump minimum Node.js engine to >=18.20.0 in package-lock.json
- Upgrade major devDependencies: np, eslint, typescript, webpack, boxen, del, configstore, etc.
- Remove deprecated and unused dependencies from lockfile
- Update dependency trees for new versions and drop legacy subdeps
- Improve compatibility with latest Node.js and ecosystem tools1 parent 7ceaa34 commit bf5d8d5
17 files changed
Lines changed: 5757 additions & 5776 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | | - | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments