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

Publish the slow imports eslint plugin #4423

Open
fvictorio opened this issue Sep 27, 2023 · 0 comments
Open

Publish the slow imports eslint plugin #4423

fvictorio opened this issue Sep 27, 2023 · 0 comments
Labels
status:ready This issue is ready to be worked on type:chore A task related to code quality, tooling, CI, or anything that doesn't directly impact the end users

Comments

@fvictorio
Copy link
Member

fvictorio commented Sep 27, 2023

  • Add breadcrumbs
  • Document why this is important
    • Load time of the CLI
    • Only necessary for “entry points”, not for the whole project
  • Document how to avoid it
    • Dynamic imports
    • Prefer await import if the function is async, use a correctly typed require otherwise
  • Maybe add a link to these docs in the rule’s warning?
@fvictorio fvictorio added the type:chore A task related to code quality, tooling, CI, or anything that doesn't directly impact the end users label Sep 27, 2023
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Sep 27, 2023
@github-project-automation github-project-automation bot moved this to Ready in Hardhat Sep 27, 2023
@fvictorio fvictorio moved this from Ready to To-do in Hardhat Sep 27, 2023
@kanej kanej moved this from To-do to Backlog in Hardhat May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on type:chore A task related to code quality, tooling, CI, or anything that doesn't directly impact the end users
Projects
Status: Backlog
Development

No branches or pull requests

1 participant