unjs/unimport

Add eslint-disable and prettier-ignore

Wyatex opened this issue · 4 comments

Wyatex commented

Describe the feature

I believe these two annotations should be added at the top of the generated d.ts file to prevent conflicts with the project configuration.

Additional information

  • Would you be willing to help implement this feature?
antfu commented

Sure, PR welcome

antfu commented

I think it's better to do in the unplugin, but for the Unimport instance we should leave it for higher level integrations

Wyatex commented

It seems that the code generation logic is not in unplugin. If i want to implement this feature in unplugin, it might be a bit breaking change.