CredoIgnoreFilePlugin - Implementing .credoignore for Efficient Elixir Code Checks

credo_ignore_file_plugin

I’m excited to share the credo_ignore_file_plugin for Elixir. This plugin adds a .credoignore file to your project, letting you skip past Credo check errors, akin to .dialyzer_ignore.exs in Dialyxir or .sobelow-skips in Sobelow.

I made this because of some of the challenges I’ve faced when working with mix credo diff. It’s great but can get tricky to get right in CI where the git history isn’t easily accessible. Additionally, I find using a .credoignore file more intuitive.

I would love your feedback on how it works for you, any feature ideas, or thoughts on the documentation.

2 Likes