From 92b76ecfd6bdf13b81b826f1a322b36b2d3a53f3 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 24 Jun 2023 17:24:42 +0200 Subject: [PATCH] flake: add typos pre-commit check --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 0185d8e..8cb7eff 100644 --- a/flake.nix +++ b/flake.nix @@ -70,6 +70,10 @@ hooks = { shellcheck.enable = true; nixpkgs-fmt.enable = true; + typos = { + enable = true; + excludes = [ "secrets\\.yaml" ]; + }; }; }; @@ -81,6 +85,7 @@ # formatters pkgs.shellcheck pkgs.nixpkgs-fmt + pkgs.typos ]; shellHook = '' ${config.pre-commit.installationScript}