You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ESLint config inspector will load successfully, since the TypeScript file imported is referenced from the same project
Change to the packages/main directory and run npm run lint:inspect there. The config inspector will fail to load with the following error, since the base rules are being imported from the monorepo:
Additional context
It looks like the issue exists when importing .ts files from node_modules in monorepo setups. Similar to what happens in Vite. Hence, the workarounds listed there are also applicable to this project
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: