Skip to content

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

Open
@ferferga

Description

@ferferga

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions