GitHub - Cinderella-Man/credence: Credence is a semantic linter for Elixir ยท GitHub

GitHub - Cinderella-Man/credence: Credence is a semantic linter for Elixir ยท GitHub

A semantic linter for Elixir aimed squarely at LLM-generated code: it runs three passes -- syntax (parser fixes), semantic (compiler-warning fixes) and pattern (~76 AST-level rules) -- and auto-fixes what it finds. The rules catch code that compiles and passes tests but isn't idiomatic, like rewriting Enum.sort |> Enum.reverse to Enum.sort(:desc) or swapping list-append patterns for cons. Every fixable rule applies its correction outright (no warn-only mode), and rules that would need non-local restructuring are archived rather than half-applied.

โŒ˜K

Start typing to search...

Search across content, newsletters, and subscribers