mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
pre-commit: add statix check
This commit is contained in:
parent
743d7eead9
commit
261696f000
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,7 @@
|
||||||
markdownlint.enable = true;
|
markdownlint.enable = true;
|
||||||
nixpkgs-fmt.enable = true;
|
nixpkgs-fmt.enable = true;
|
||||||
shellcheck.enable = true;
|
shellcheck.enable = true;
|
||||||
|
statix.enable = true;
|
||||||
typos = {
|
typos = {
|
||||||
enable = true;
|
enable = true;
|
||||||
excludes = [ "secrets\\.yaml" ];
|
excludes = [ "secrets\\.yaml" ];
|
||||||
|
@ -95,6 +96,7 @@
|
||||||
pkgs.deadnix
|
pkgs.deadnix
|
||||||
pkgs.nixpkgs-fmt
|
pkgs.nixpkgs-fmt
|
||||||
pkgs.shellcheck
|
pkgs.shellcheck
|
||||||
|
pkgs.statix
|
||||||
pkgs.typos
|
pkgs.typos
|
||||||
];
|
];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue