Skip to content

Commit

Permalink
Switch type to one supported by precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
atavistock committed Oct 9, 2023
1 parent eb04c33 commit 67d6c44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1238,14 +1238,14 @@ in
name = "mix-format";
descriptiion = "Runs the built-in Elixir syntax formatter";
entry = "${pkgs.elixir}/bin/mix format";
types = [ "elixir" ];
types = [ "file" ];
};

mix-test = {
name = "mix-test";
descriptiion = "Runs the built-in Elixir test framework";
entry = "${pkgs.elixir}/bin/mix test";
types = [ "elixir" ];
types = [ "file" ];
};

credo = {
Expand All @@ -1254,14 +1254,14 @@ in
entry =
let strict = if settings.credo.strict then "--strict" else "";
in "${pkgs.elixir}/bin/mix credo";
types = [ "elixir" ];
types = [ "file" ];
};

dialyzer = {
name = "dialyzer";
descriptiion = "Runs a static code analysis using Dialyzer";
entry = "${pkgs.elixir}/bin/mix dialyzer";
types = [ "elixir" ];
types = [ "file" ];
};
};
}

0 comments on commit 67d6c44

Please sign in to comment.