AI development/GitHub/Tool
eslint-plugin-readable-code
by ikabeee·Last observed 2026-10-27
★ 1 stars⑂ 0 forks
An ESLint plugin with an Oxlint preset turns code readability patterns into lint errors for AI-written code. It flags function ordering and test-runner branching, with rules aimed at keeping functions and control flow easier to follow.
Useful for
- Add the preset to an Oxlint or ESLint project to flag these patterns during linting.
Key features
- The Oxlint preset flags functions declared above their first caller, test-runner branching in source files, and copied functions within one file.
Requirements & limitations
- The Oxlint JavaScript plugin API is alpha, and the peer dependency is pinned to oxlint 1.89.0.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.