I managed to get it working! Now I have a portable package that can init itself based on a toplevel config, and it sets the vscode extension config to use the ast-grep config in the node_modules linter folder!
Any objections to me publishing it as rescript-lint
? If something better comes along I have no issues surrendering the package.