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
Does this library seem to not support ESLint? #232
Comments
However, Vite starts up normally without being affected. |
We probably need to add something like https://github.com/unplugin/unplugin-auto-import#eslint T some point. Or you could use the auto imports as shown in this read me and it will support the eslint config as shown in the other readme. |
I forgot to mention that I am using unplugin-auto-import and have also enabled the .eslintrc for unplugin-auto-import, but I am still getting this error. |
I also have a problem with ESLint. import { createRouter, createWebHistory } from 'vue-router/auto' Gives me the error:
|
you can add this config in your .eslintrc.cjs(or other eslint config file) settings: {
'import/core-modules': ['vue-router/auto'],
}, |
My Node.js version is v18.17, TypeScript version is 5.2.2, and the package manager is pnpm,eslint version is 8.49. When I run
ESLint -fix
, I encounter the following error:The text was updated successfully, but these errors were encountered: