devwithjev
— reading now— views
Submit a build

Plain-English ESLint Rules with Jev

Shahriar Bijoy built ESLint rules phrased as plain-English questions, which Jev answers to check what code means.

Shahriar Bijoy@ShahriarBijoy𝕏
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 @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 profi
Sep 20, 2026X postsView on X
He says a `getUser()` function that quietly deletes a user can pass conventional linters, while his rules catch it.

Also filed under Tools & apps