Skip to content

Conversation

@aldeed
Copy link
Contributor

@aldeed aldeed commented May 30, 2025

Problem

eslint-plugin-node has been abandoned for some time with no recommended replacement.

Solution

eslint-plugin-n is a fork that currently seems to be maintained pretty well. This updates our dependencies and config to use eslint-plugin-n.

Breaking Changes

Although it's basically a drop-in replacement, this will cause some breaking changes so it should be in a major release.

  • All config and eslint-disable comments will need to be updated from node/ to n/
  • In my testing, this resulted in many new (true) errors because eslint-plugin-n has been maintained and received fixes while eslint-plugin-node has not. So updating will require fixing or ignoring these new errors.

@aldeed aldeed requested a review from denis-sokolov May 30, 2025 22:38
@aldeed aldeed merged commit 8f52218 into main Jun 2, 2025
1 check passed
@aldeed aldeed deleted the ericd-switch-to-n-plugin branch June 2, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants