Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(eslint-config): use modern plugins alternatives #724

Merged
merged 6 commits into from
Sep 7, 2024

Conversation

Jayllyz
Copy link
Contributor

@Jayllyz Jayllyz commented Sep 1, 2024

As part of the ongoing ecosystem cleanup, we are migrating various projects to use lighter/faster packages.

In this case, this PR modernize the eslint config.

  • eslint-plugin-import has a large footprint, lighter alternatives exist. info

    Replaced with eslint-plugin-import-x a direct fork with a much smaller footprint and modernisation.

  • eslint-plugin-node is no longer maintained. Actively maintained alternatives exist. info

    Replaced with eslint-plugin-n a direct fork which is actively maintained. It has new features, bugfixes and updated dependencies.

  • npm-run-all is no longer maintained. Lighter, actively maintained alternatives exist. info

    Replaced with npm-run-all2 a direct fork of npm-run-all with much of the dependency tree cleaned up.

  • eslint-plugin-eslint-comments is no longer maintained. Actively maintained alternatives exist. info

    Replaced with @eslint-community/eslint-plugin-eslint-comments a direct fork which is actively maintained. It has new features, bugfixes and updated dependencies.

Bumped eslint to 8.57everywhere.

Not in this PR but could be good to add.
https://ota-meshi.github.io/eslint-plugin-regexp/
https://github.com/es-tooling/eslint-plugin-depend

Copy link

changeset-bot bot commented Sep 1, 2024

🦋 Changeset detected

Latest commit: 90c649f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hono/eslint-config Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@yusukebe
Copy link
Member

yusukebe commented Sep 7, 2024

Hi @Jayllyz

This looks good to me. We have to change the settings, but I'll do that. Merging. Thank you for the PR.

@yusukebe yusukebe merged commit f7a950a into honojs:main Sep 7, 2024
2 checks passed
@github-actions github-actions bot mentioned this pull request Sep 7, 2024
@Jayllyz Jayllyz deleted the chore/eslint-config branch September 7, 2024 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants