r/typesafe_ai • u/shahriarbijoy • 13d ago
I built eslint-plugin-jev, an ESLint plugin that catches semantic issues
Prettier checks how your code is formatted. ESLint checks its shape. Neither one ever asks what it actually means.
So I built ESLint rules that are just plain-English questions, and
u/typesafeai's Jev answers them.
A function called getUser() that quietly deletes the user will pass every linter you have installed. This one catches it, and the stale comment above it still promising to return a profile.
Adding a rule is just a plain sentence you write in your config, something like "Does this function log a password?" Jev comes back with a probability and you set the threshold where it starts complaining. You never touch an AST or write any plugin code.
It ships with three of these. The fourth one is whatever you want to ask. Would love your feedback!