Skip to content

Ship type declarations with @lasvegasfortransit/eslint-config #63

Description

@WillieCubed

Problem

Repositories write TypeScript ESLint configs (eslint.config.ts) that import @lasvegasfortransit/eslint-config, but the package ships no type declarations. transit-mapper keeps a hand-written lvbt-eslint-config.d.ts shim to type its imports, and that shim goes stale whenever the package's exports change.

Proposed change

@lasvegasfortransit/eslint-config ships .d.ts declarations for each exported entry (./base, ./react-internal, and the rest), wired through its exports map. Repositories then delete their shims.

Additional context

Found while converging transit-mapper onto the standard in transit-mapper#171.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions