Credo - Analysing AST for Fun and Profit
summary
Credo analyzes Elixir source by converting code to an AST and running categorized, prioritized checks — over 40 checks grouped into readability, refactor, design, consistency and warnings — assigns numeric priorities and shows only the top three per category by default so terminals avoid 600-item dumps, offers explanations for each issue and a CLI you run with mix credo, has editor plugins and configurable lint attributes, and ships as a working teaching-focused linter.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 2:47Code Analysis
- 7:21The Problem
- 8:48The Idea
- 9:43The Journey
- 11:11Categories
- 13:26Priority
- 15:22Consistency
- 17:46Command Line Interface
- 20:41Future of Credo
- 23:33Final Thoughts
- 24:13QA
- 25:13correctness
- 27:28special configuration
- 30:16auto correct
- 32:23type annotations
- 33:37Dialyzer
related talks
43mCredo: Your Team’s Robot Mentor
28mAutomating the Automator
20mThey see me refactorin'. They hatin'
27mPyre, Lints, Codemods, Code Quality, and You
39mCheck your code with RefactorErl!
22mEasier Lint Authoring with Semantic Search and (...)
29mAST: the Secret Weapon to Transform a Codebase
40mIntelliJ Elixir Works Even if your Code Doesn't
