-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Credo 1.6? #22
Comments
Hi @altdsoy, First, thanks for the thorough report 🙂 I just ran the test suite after updating to credo 1.6 and it passed successfully:
So I don’t think a conflict with credo 1.6 and credo_naming is the issue here. A few questions:
Thank you! |
Hello and thanks for the reply.
Yes. For example, when I add a simple
Ok this seems to do it. It worked! Since it's within a Phoenix project I'm getting many (low But this is weird because they all come from I guess I can simply disable or change the options for that check so that I can use Though, So do you have a suggestion for some rules to add to ignore them? More generally, how I can add a rule that allows me to have things like For example, for something named The problem in that case is if I have now Sure this can be solved within one's IDE, but still.. Anyway, I guess this issue is somehow solved. So feel free to close the issue. Thanks for the plugin BTW. Edit: I forgot to explicitly ask, how I can make |
I came across this problem and wanted to update the issue for others finding their way here. You can override the {CredoNaming.Check.Consistency.ModuleFilename, [priority: :high]}, |
Hello,
I'm trying to add CredoNaming but nothing happens,
I guess it's not longer compatible with credo 1.6?
Everything is default Phoenix. Here is the only addition to
mix.exs
for example:Here are my default
.credo.exs
file generated bymix credo gen.config
.Am I missing something?
I also tried to add into
CredoNaming
in therequire
andplugin
sections, but it's not working.Thanks.
Edit:
Forgot to mention that in order to test I only added the following module
test_naming.exs
inlib
:The text was updated successfully, but these errors were encountered: