8000 Provide documentation for writing eslint rules in typescript · Issue #40 · typescript-eslint/typescript-eslint · GitHub
[go: up one dir, main page]

Skip to content
Provide documentation for writing eslint rules in typescript #40
Closed
@johnwiseheart

Description

@johnwiseheart

Currently theres a bunch of rules at https://github.com/bradzacher/eslint-plugin-typescript written in js that, since they're operating on typescript should eventually be migrated to be written in typescript as per the comment https://github.com/bradzacher/eslint-plugin-typescript/issues/56#issuecomment-455313509.

I think a good first step here would be to:

  1. Figure out how the typing works for writing rules in typescript - I still haven't gotten my head around where all the types come from since some are from ESTree, some are from the JSX spec, and then some will be typescript specific

  2. Create or update ESUtils to be typescript so that it can provide typeguards as helper functions - for example isJSXAttribute(node), similar to how https://github.com/ajafff/tsutils works at the moment.

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updatingpackage: utilsIssues related to the @typescript-eslint/utils package

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0