Add eslintrc
configuration for wxt's auto-import to avoid eslint errors
#448
Labels
eslintrc
configuration for wxt's auto-import to avoid eslint errors
#448
Feature Request
In the vite + unplugin-auto-import project, i use the eslintrc parameter for AutoImport to generate the corresponding json file for eslint to import and avoid eslint errors. I hope that wxt can introduce related functionality in the future to avoid reinstalling unplugin-auto-import and reconfiguring vite internally in wxt project.
Is your feature request related to a bug?
N/A
What are the alternatives?
Similar to unplugin-auto-import/vite, add the
eslintrc
configuration under the imports parameter, following the syntax of unplugin-auto-import/vite. This will generate the json file while generating the types. The config code will seem to look like this:The text was updated successfully, but these errors were encountered: