Skip to content
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

Open
ferferga opened this issue Oct 14, 2024 · 0 comments
Open

Imported TypeScript files in eslint.config.ts doesn't work #95

ferferga opened this issue Oct 14, 2024 · 0 comments

Comments

@ferferga
Copy link

The following structure is publicily available at https://github.com/jellyfin/jellyfin-vue

Steps to reproduce

  1. Click on Code > Create codespace from master (or clone the repository locally)
  2. cd frontend && npm run lint:inspect

Description

This an overview of the setup

  • Using TypeScript configuration files with jiti v2. Looks like that is already covered
  • A monorepo (called @jellyfin-vue/configs in my case) where TypeScript modules export factory functions for rule configs.
  • Those factory functions are imported in frontend/eslint.config.ts, working perfectly with ESLint but not with the inspector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant