I don’t see any reason this couldn’t be made portable, and even a core part of the rescript experience.
Just read this on the ast-grep docs too, so extensibility is actually already a solved problem.
Pro tip
We can also use directories in
node_modulesto reuse preconfigured rules published on npm!More broadly speaking, any git hosted projects can be imported as rule sets by using
git submodule.