Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Provide documentation for writing eslint rules in typescript #40

Closed
Assignees
JoshuaKGoldberg
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
@johnwiseheart

Description

@johnwiseheart

Currently theres a bunch of rules athttps://github.com/bradzacher/eslint-plugin-typescript written in js that, since they're operatingon typescript should eventually be migrated to be written in typescript as per the commenthttps://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 exampleisJSXAttribute(node), similar to howhttps://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


    [8]ページ先頭

    ©2009-2025 Movatter.jp