about summary refs log tree commit diff stats
path: root/nix/pre-commit-checks.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-06-27 11:45:08 +0200
committerAlan Pearce2024-06-27 11:45:08 +0200
commit9f01a82186f3ba8e89e1d80c75112fea38858856 (patch)
treec19d95efa44844070d5a2189f3ae2136bd042b85 /nix/pre-commit-checks.nix
parenta822c88c9bd6dddcdc9e096ef2bbee828c5cc5cd (diff)
downloadsearchix-9f01a82186f3ba8e89e1d80c75112fea38858856.tar.lz
searchix-9f01a82186f3ba8e89e1d80c75112fea38858856.tar.zst
searchix-9f01a82186f3ba8e89e1d80c75112fea38858856.zip
build: remove formatter for go template files
Diffstat (limited to 'nix/pre-commit-checks.nix')
-rw-r--r--nix/pre-commit-checks.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/nix/pre-commit-checks.nix b/nix/pre-commit-checks.nix
index 9d9ba99..7e53f30 100644
--- a/nix/pre-commit-checks.nix
+++ b/nix/pre-commit-checks.nix
@@ -61,13 +61,8 @@ rec {
     };
     prettier = {
       enable = true;
-      types_or = [ "plain-text" "yaml" "gotmpl" "javascript" ];
+      types_or = [ "plain-text" "yaml" "javascript" ];
       excludes = [ "CHANGELOG\.md$" ];
-      settings = {
-        plugins = with pkgs.nodePackages; [
-          "${prettier-plugin-go-template}/lib/node_modules/prettier-plugin-go-template/lib/index.js"
-        ];
-      };
     };
 
     yamllint = {