Skip to content

Conversation

wChenonly
Copy link
Contributor

Description

useExportType Some checking tools will report errors

All exports are only types and should thus use export type.biomelint/style/useExportType

Linked Issues

Additional context

@wChenonly wChenonly requested a review from antfu as a code owner August 14, 2024 01:34
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@wChenonly wChenonly changed the title chore: export type in declaration.ts fix: export type in declaration.ts Aug 14, 2024
@antfu
Copy link
Member

antfu commented Aug 14, 2024

I would feel it's something biome side should improve. Also it's meaningless to lint a generated file tbh, I think we could have the control comment for biome to disable that, like we have for the other tools like eslint and prettier

@wChenonly
Copy link
Contributor Author

I would feel it's something biome side should improve. Also it's meaningless to lint a generated file tbh, I think we could have the control comment for biome to disable that, like we have for the other tools like eslint and prettier

now disable biome by commenting it out, but for syntactical reasons we can only put it after Read more: for now.

@wChenonly wChenonly changed the title fix: export type in declaration.ts fix: disable biome detection in generated components.d.ts Aug 14, 2024
@antfu antfu merged commit c69425e into unplugin:main Feb 19, 2025
6 checks passed
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