I have it running on Node 20, but I’m struggling with Node 22.
This works on node 20:
sg scan --config "./node_modules/rescript-lint/sgconfig.yml" src
warning[no-console]: Unexpected console statement.
┌─ src/index.res:2:3
│
2 │ Console.log("foo!")
│ ^^^^^^^
│
= Remove the console statement.
But on node 22:
sg: group 'scan' does not exist