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

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

$
0
0

Another aha! Turns out that linux could successfully build the rescript repository because it was a version behind on tree-sitter (v24 instead of v25), which is also the latest version that ast-grep currently supports. Using npm to download the downgraded version of tree-sitter will let us generate a file usable by ast-grep.

npm install -g tree-sitter-cli@v0.24.7
cd desired/parent/directory/for/repo
git clone https://github.com/rescript-lang/tree-sitter-rescript
cd tree-sitter-rescript
tree-sitter build

Viewing all articles
Browse latest Browse all 2592

Trending Articles