diff --git a/.credo.exs b/.credo.exs new file mode 100644 index 0000000..12f6917 --- /dev/null +++ b/.credo.exs @@ -0,0 +1,10 @@ +%{ + configs: [ + %{ + name: "default", + checks: %{ + disabled: [{Credo.Check.Design.TagTODO, []}] + } + } + ] +} diff --git a/.formatter.exs b/.formatter.exs index 39db50a..0591f88 100644 --- a/.formatter.exs +++ b/.formatter.exs @@ -1,5 +1,5 @@ # Used by "mix format" [ - inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], + inputs: ["{mix,.formatter,.credo}.exs", "{config,lib,test}/**/*.{ex,exs}"], import_deps: [:typedstruct] ] diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 0bb18e8..66c6b0e 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -17,5 +17,5 @@ jobs: - run: nix flake check - run: nix develop --command mix deps.get - - run: nix develop --command mix credo + - run: nix develop --command mix credo --mute-exit-status -a - run: nix develop --command mix test