Rules
4 rules that target the specific patterns AI coding assistants produce. Each rule is fully configurable with custom thresholds and severity levels.
๐
max-file-lines
warn
suggestion
Prevents "god files" by capping the effective line count of a file.
Default: 300 lines๐ง
max-function-lines
warn
suggestion
Limits the number of effective lines inside function and method bodies to prevent "god functions."
Default: 50 lines๐
no-orphan-todos
error
problem
Requires TODO, FIXME, and HACK comments to include a tracking reference and/or a deadline.
Default: reference required๐ฌ
no-ai-obvious-comments
warn
suggestion
Detects comments that simply restate the following line of code.
Default: enabled