Skip to content

[faq] add FAQ for how to reuse C/C++ and TS/TSX rules #644

@HerringtonDarkholme

Description

@HerringtonDarkholme
  • they are inherently different
  • when ast-grep fails to parse the rule, it is unclear how to report error
  • you can force ast-grep to treat ts file as tsx file by language glob

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions