style: enable nix formatter and linter
This commit is contained in:
parent
a9a6888958
commit
759bda1d77
1 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
|
|
||||||
{
|
|
||||||
git-hooks = {
|
git-hooks = {
|
||||||
hooks = {
|
hooks = {
|
||||||
|
alejandra.enable = true;
|
||||||
check-case-conflicts.enable = true;
|
check-case-conflicts.enable = true;
|
||||||
check-merge-conflicts.enable = true;
|
check-merge-conflicts.enable = true;
|
||||||
commitizen.enable = true;
|
commitizen.enable = true;
|
||||||
|
deadnix.enable = true;
|
||||||
detect-private-keys.enable = true;
|
detect-private-keys.enable = true;
|
||||||
end-of-file-fixer.enable = true;
|
end-of-file-fixer.enable = true;
|
||||||
markdownlint.enable = true;
|
markdownlint.enable = true;
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
name = "Home Manager Config Check";
|
name = "Home Manager Config Check";
|
||||||
entry = "home-manager switch --dry-run";
|
entry = "home-manager switch --dry-run";
|
||||||
pass_filenames = false;
|
pass_filenames = false;
|
||||||
excludes = [ "^docs/" ];
|
excludes = ["^docs/"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue