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

[DX] Avoid warning when not needed #314

Closed
4 of 5 tasks
ennioVisco opened this issue Jan 31, 2023 · 1 comment
Closed
4 of 5 tasks

[DX] Avoid warning when not needed #314

ennioVisco opened this issue Jan 31, 2023 · 1 comment

Comments

@ennioVisco
Copy link

ennioVisco commented Jan 31, 2023

Describe the bug

Ideally, this line should be printed only when the output has no imports, but it is printed anytime Options.imports is empty (but users could instead be importing with Options.include or Options.dirs.

Also, the English could be polished a bit and changed here to:
[auto-import] plugin installed but no imports hashave been defined, see https://github.com/antfu/unplugin-auto-import#configurations for configurations'

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@ascott18
Copy link
Contributor

Additionally, the #configurations anchor doesn't exist - it should be #configuration (no s)

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

No branches or pull requests

2 participants