Loading…
Grain is an anti-slop linter that detects behavioral patterns specific to AI-generated code, such as silent exception swallowing, docstring padding, and vague TODOs. It ships with built-in rules and supports custom regex-based patterns via a .grain.toml configuration file.
AI named Grain Linter in March 2026.