Skip to content

TypeScript type linting with typescript-eslint plugin #838

Description

@brettz9

Motivation

Current behavior

Should take a look at https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin to see if its rules can be adapted for use with JSDoc, and if not, consider a multiple processors approach.

Desired behavior

Be able to lint TypeScript types within TypeScript-style JSDoc, e.g., to use consistent styling of semicolons or commas as separators, etc.

Rules ripe for adaption:

Also:

Less likely but possible:

Alternatives considered

Using typescript-eslint plugin if supported.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions