Add Credo configuration and Dialyzer ignore file

- Introduced a new Credo configuration file for code quality checks. - Added a Dialyzer ignore file to suppress known
warnings. - Removed TODO comments for Bulgarian and Icelandic IBANs. - Updated the Dialyzer configuration in mix.exs to
include
This commit is contained in:
2025-12-02 11:41:49 -05:00
parent 64eebfec44
commit 297c757584
6 changed files with 31 additions and 6 deletions

22
.credo.exs Normal file
View File

@@ -0,0 +1,22 @@
%{
configs: [
%{
name: "default",
files: %{
included: ["lib/", "test/"],
excluded: [~r"/_build/", ~r"/deps/", ~r"/node_modules/"]
},
checks: %{
enabled: [
{Credo.Check.Design.TagTODO, exit_status: 0},
{Credo.Check.Design.TagFIXME, exit_status: 0}
],
disabled: [
# Validator functions legitimately need higher complexity
{Credo.Check.Refactor.CyclomaticComplexity, []},
{Credo.Check.Refactor.Nesting, []}
]
}
}
]
}