Commit 8f70d00
authored
build(deps-dev): eslint fixes (#1599)
## Summary
Fix the eslint-plugin-node → eslint-plugin-n replacement that Renovate
PR #1589 couldn't land due to a peer dependency conflict, and move
ESLint packages to devDependencies.
## Description
- Replace `eslint-plugin-node@^11.1.0` (unmaintained) with the community
fork `eslint-plugin-n@^16.0.0`, using a version compatible with
`eslint-config-standard@17.1.0`'s peer dependency (`^15.0.0 || ^16.0.0`)
- Move `eslint` and `eslint-config-standard` from `dependencies` to
`devDependencies`
- Regenerate `package-lock.json` (transitive ESLint dependencies now
correctly marked as `dev`)
## Motivation and Context
Renovate PR #1589 chose `eslint-plugin-n@^14.0.0` as the "minimal stable
replacement", which conflicts with `eslint-config-standard@17.1.0`'s
peer dependency requirement of `^15.0.0 || ^16.0.0`, causing `npm ci` to
fail in CI. Rather than tweaking the Renovate config for a one-time
replacement, this PR handles it manually with the correct version.
The misplaced `eslint`/`eslint-config-standard` in `dependencies` was
also fixed — neither is imported by any code in `lib/` or `bin/`.
Closes #1589 (supersedes — that PR can be closed).
## PR Checklist
- [x] I have read the `CONTRIBUTING.md` file
- [x] All commits follow [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/)
- [x] Documentation is updated (if necessary)
- [x] PR doesn't contain any sensitive information
- [x] There are no breaking changes1 parent e1aeb51 commit 8f70d00
2 files changed
+501
-206
lines changed
0 commit comments