-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Imported TypeScript files in eslint.config.ts
doesn't work
#95
Comments
I have a hard time understanding what it is that doesn’t work. Can you maybe add a screenshot or something where you show what’s wrong or missing? |
@voxpelli I was able to better triage the issue and create a minimal reproduction: https://stackblitz.com/edit/vitejs-vite-9abzaz Steps to reproduce
Additional contextIt looks like the issue exists when importing |
I'm running into this same issue. I have two projects:
Running eslint (with any of --fix, --debug, --print-config) works just fine, but specifically only the inspector fails with:
I am not well-versed enough in js/ts/frontend to understand what I can do to work around this issue. |
I don't think it's a good practice to ship |
In my case, these are private, scoped packages that my team uses internally via Azure Artifacts. |
The following structure is publicily available at https://github.com/jellyfin/jellyfin-vue
Steps to reproduce
cd frontend && npm run lint:inspect
Description
This an overview of the setup
@jellyfin-vue/configs
in my case) where TypeScript modules export factory functions for rule configs.frontend/eslint.config.ts
, working perfectly with ESLint but not with the inspector.The text was updated successfully, but these errors were encountered: