From 9f01a82186f3ba8e89e1d80c75112fea38858856 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 27 Jun 2024 11:45:08 +0200 Subject: build: remove formatter for go template files --- nix/pre-commit-checks.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'nix/pre-commit-checks.nix') 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 = { -- cgit 1.4.1