
Credo
The facts below are what the maker publishes about Credo, checked and dated. Our editors have not written about it yet.
Plans and prices
From Credo's own pricing page, checked 9 Oct 2001.
| Plan | Price | What it gives you |
|---|---|---|
| Credo | Free | Open source Elixir static analysis tool |
The facts
Each one read from Credo's own pages, with the date it was checked.
What it does
- Analysis
- It suggests code changes and reports refactoring opportunities, complex code, common mistakes, naming inconsistencies, and style issues.checked 9 Oct 2001
- Author
- The repository names René Föhring as the author.checked 9 Oct 2001
- Checks
- Built-in checks cover consistency, design, readability, refactoring, and warnings, and low-priority checks can be included with strict analysis.checked 9 Oct 2001
- CI usage
- Credo returns a nonzero exit status when it reports issues, supporting shell-based pipelines such as CI workflows.checked 9 Oct 2001
- Compatibility
- Credo aims to stay compatible with the Elixir minor releases listed in the Elixir documentation, which it actively tests on CI.checked 9 Oct 2001
- Configuration
- Credo uses a `.credo.exs` configuration file that can be placed in the project root or its `config/` folder.checked 9 Oct 2001
- Custom checks
- Users can add project or domain specific checks by implementing the `Credo.Check` behavior and configuring the check.checked 9 Oct 2001
- Installation
- The docs recommend adding Credo as a Mix dependency with `only: [:dev, :test]` and `runtime: false`.checked 9 Oct 2001
- Integrations
- The maker lists integrations for IntelliJ, Atom, VS Code, Emacs, Kakoune, Neovim, and Codacy.checked 9 Oct 2001
- License
- Credo is released under the MIT License.checked 9 Oct 2001
- Output
- Credo can output command results as JSON.checked 9 Oct 2001
- Output formats
- The CLI supports Flycheck, JSON, and SARIF output formats.checked 9 Oct 2001
- Plugins
- Plugins are modules enabled and configured through the `:plugins` field in `.credo.exs`.checked 9 Oct 2001
- Publisher
- The Hex package lists `rrrene` as the package publisher and owner.checked 9 Oct 2001
- Purpose
- Credo is a static code analysis tool for Elixir focused on code consistency and teaching.checked 9 Oct 2001
- Teaching
- For an issue, Credo can show the check that raised it, its configuration options, and how to disable it.checked 9 Oct 2001
Money
- Issue explanations
- Users can request an explanation for an issue that includes the check, its configuration options, and how to disable it.checked 9 Oct 2001
Alternatives to Credo
- 1
Flake8
Free planOpen sourceAPILinuxmacOSSelf-hosted7.3Free plan - 2
PMD
Free planLinuxmacOSSelf-hostedWindows6.8Free plan - 3
SwiftLint
Free planLinuxmacOSWindows6.6Free plan - 4

Ruff
Free planWebLinuxmacOSSelf-hosted6.5Free plan - 5

Biome
Free planWebExtensionLinuxmacOS6.4Free plan - 6

Cppcheck
Free planLinuxmacOSSelf-hostedWindows6.4Free plan
