Is there a rescript ast parser for eslint? Or something to use somesort of rescriptcodeshift. These are very usefull tools for lazy people
I’ve had some success running certain eslint rules against the JS output, such as the react hooks rule.
I thought of traversing a rescript ast directly, using eslint custom parser. There isn’t many benefits to do it with js output.
It should be possible, because TS somehow did the thing I’m looking for.
we don’t offer any facilities to access the AST in eslint.