Skip to content

feat(module): generate configuration for globals#336

Merged
antfu merged 1 commit intomainfrom
feat/gen-globals
Mar 19, 2024
Merged

feat(module): generate configuration for globals#336
antfu merged 1 commit intomainfrom
feat/gen-globals

Conversation

@antfu
Copy link
Copy Markdown
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
Copy Markdown
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