GithubHelp home page GithubHelp logo

0 mods/funs, found nothing about credo HOT 5 CLOSED

rrrene avatar rrrene commented on August 15, 2024
0 mods/funs, found nothing

from credo.

Comments (5)

rrrene avatar rrrene commented on August 15, 2024

Hi there,

what do you get when you run

mix credo --strict

?

from credo.

jessejanderson avatar jessejanderson commented on August 15, 2024

mix credo --strict gives me the same thing.

Someone in the Elixir Slack suggested mix credo suggest -A -a and that gave me results. -A seems to have been the missing link as running mix credo -A gives me what I expected to see.

Is there a reason the normal mix credo would be saying nothing found? The 0 mods/funs, found nothing message was a little misleading as it sounded like it wasn't able to find my functions.

from credo.

rrrene avatar rrrene commented on August 15, 2024

You touch on two issues here:

  1. --strict is/should be an alias for -A (which is an alias for --all-priorities), so I am not sure why it behaves incorrectly here. Is the code you are testing this on on GitHub?
  2. the output "0 mods/funs, found nothing." does not make sense in most situations, because it means one of three things
    (a) you have no issues,
    (b) you have issues, but they are low priority,
    (c) no files were detected.

In each of those situations we could do better than "0 mods/funs, found nothing.". I will fix this and prepare a release on the weekend!

from credo.

jessejanderson avatar jessejanderson commented on August 15, 2024

Awesome!

Just pushed my code, it was just a sample from the Programming Elixir book and I was wanting to see how Credo worked.
https://github.com/jessejanderson/programming-elixir-issues

from credo.

rrrene avatar rrrene commented on August 15, 2024

Hi, v0.2.4 contains new wording, which I hope is "good enough". Be sure to update the version requirement to ~> 0.2

Thanks for your help. We should certainly keep an eye on the "understandability" of what the user sees! 👍

from credo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.