Skip to content

Commit

Permalink
lib/checks.nix: enable linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed May 20, 2024
1 parent 2a00ea4 commit 04c9d77
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@
pre-commit-check = pre-commit-hooks.lib.${pkgs.system}.run {
src = ./.;
hooks = {
ci = {
ci-check-formatting = {
enable = true;
name = "just ci: check formatting";
entry = "${pkgs.just}/bin/just check-formatting";
pass_filenames = false;
};
ci-linting = {
enable = true;
name = "just ci: lint";
entry = "${pkgs.just}/bin/just lint";
pass_filenames = false;
};
};
};
}

0 comments on commit 04c9d77

Please sign in to comment.