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

feat(module): generate configuration for globals #336

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Conversation

antfu
Copy link
Member

@antfu antfu commented Mar 19, 2024

This PR make the module generate a flat config item, register globals from unimport so eslint would expect that auto-import to be presented. So rules like no-undef would not complain

@antfu antfu changed the title feat(module): generate globals configuration feat(module): generate configuration for globals Mar 19, 2024
@antfu
Copy link
Member Author

antfu commented Mar 19, 2024

Going to merge this and try how it works - later we might want an option to disable that addon for non auto-imported env

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant