Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1759

I'm looking into using ast-grep fo linting ReScript. What rules should I investigate?

$
0
0

I’ve used a tool called ast-grep to write some custom lint rules and code transformations for TypeScript.

It has experimental support for custom languages via tree-sitter: Custom Language Support | ast-grep

There is an official tree-sitter-rescript repo: GitHub - rescript-lang/tree-sitter-rescript: ReScript parser for Tree-Sitter

I’m poking at this over the week.

What types of rules would ReScript need?

I’m planning on starting with a simple no-console rule.


Viewing all articles
Browse latest Browse all 1759

Trending Articles