Configuration file setting doesn't work
alex-strizhakov opened this issue Β· comments
Hi! π
Big thanks for your work on the extension.
There is one problem with extension configuration through credo
configuration file.
I've set configurationFile
option into settings.json
file, like this:
"elixir.credo.configurationFile": "config/.credo.exs"
and have these settings in .credo.exs
.
%{
configs: [
%{
name: "default",
files: %{
included: ["mix.exs", "lib/"],
excluded: ["test/"]
}
}
]
}
When I run mix credo
it works as expected, but in vscode, I have warnings in test modules, that Modules should have a @moduledoc tag.
Am I doing something wrong?
Hi! Thanks for pointing that out. No, you are not doing anything wrong π Simply put, this is not supported yet. The extension does not respect such preferences. However, I'll work on that soon. Currently, my time is rather limited, but I'll let you know here as soon as I got something ready.
Hey @alex-strizhakov, I released a new version respecting credos' configuration regarding file inclusion/exclusion.
Thus, I'll close this issue.