rrrene / credo

A static code analysis tool for the Elixir language with a focus on code consistency and teaching.
http://credo-ci.org/
MIT License
4.91k stars 414 forks source link

Elixir version check fails with Credo.Check.Warning.LazyLogging #1104

Closed pierrelegall closed 8 months ago

pierrelegall commented 8 months ago

The story

On my last mix credo --all:

info: some checks were skipped because they're not compatible with
your version of Elixir (1.15.7).

You can deactivate these checks by adding this to the `checks` list in your config:

    {Credo.Check.Warning.LazyLogging, false}

However, when I check the documentation:

Credo.Check.Warning.LazyLogging

This check has a base priority of high and requires Elixir < 1.7.0.

Environment

pierrelegall commented 8 months ago

Ohw! My bad, it's 1.7.0, not 1.17.0...

I'm trying to revive an old project, I lose my focus :smile: