
GitHub - dmmulroy/anti-slop: Opinionated Oxlint rules for rejecting low-evidence TypeScript and JavaScript patterns
Opinionated Oxlint rules for rejecting low-evidence TypeScript and JavaScript patterns - dmmulroy/anti-slop
Software Developers and JavaScript Engineers
Enforces a maximum cyclomatic complexity threshold (default 20) to limit linearly independent paths per code block.
Supports "classic" and "modified" variants; the modified variant counts a switch statement as complexity 1 regardless of case count. Configurable via .oxlintrc.json, oxlint.config.ts, or CLI; added in Oxlint v1.37.0.