Skip to content

Linter plugins: Support plugins written in TypeScript #14009

@overlookmotel

Description

@overlookmotel

We should support linter plugins written in TS.

We can provide types for defineRule (#13945) and definePlugin (#14008) to give TS support when writing custom plugins.

But what's the best way to add TS support?

  1. Rely on NodeJS's built-in type-stripping support? (and user has to use a NodeJS version that supports that)
  2. Use a library? (which one?)

Any thoughts?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions