forked from tangled.org/core
this repo has no description

treefmt: don't format html for now

Causes too many regressions, unfortunately:

- https://discord.com/channels/1361963801993285692/1361991850327674932/1406398439830323292
- https://discord.com/channels/1361963801993285692/1361991850327674932/1406401591627747519

Ideally, our templates wouldn't be whitespace-sensitive (example #1),
but let's stop the bleeding while we figure it out.

Signed-off-by: Winter <winter@winter.cafe>

Changed files
+11 -11
+11 -11
flake.nix
··· 120 includes = ["*.go"]; 121 }; 122 123 - prettier = let 124 - wrapper = pkgs.runCommandLocal "prettier-wrapper" {nativeBuildInputs = [pkgs.makeWrapper];} '' 125 - makeWrapper ${pkgs.prettier}/bin/prettier "$out" --add-flags "--plugin=${pkgs.prettier-plugin-go-template}/lib/node_modules/prettier-plugin-go-template/lib/index.js" 126 - ''; 127 - in { 128 - command = wrapper; 129 - options = ["-w"]; 130 - includes = ["*.html"]; 131 - # causes Go template plugin errors: https://github.com/NiklasPor/prettier-plugin-go-template/issues/120 132 - excludes = ["appview/pages/templates/layouts/repobase.html" "appview/pages/templates/repo/tags.html"]; 133 - }; 134 }; 135 }; 136 });
··· 120 includes = ["*.go"]; 121 }; 122 123 + # prettier = let 124 + # wrapper = pkgs.runCommandLocal "prettier-wrapper" {nativeBuildInputs = [pkgs.makeWrapper];} '' 125 + # makeWrapper ${pkgs.prettier}/bin/prettier "$out" --add-flags "--plugin=${pkgs.prettier-plugin-go-template}/lib/node_modules/prettier-plugin-go-template/lib/index.js" 126 + # ''; 127 + # in { 128 + # command = wrapper; 129 + # options = ["-w"]; 130 + # includes = ["*.html"]; 131 + # # causes Go template plugin errors: https://github.com/NiklasPor/prettier-plugin-go-template/issues/120 132 + # excludes = ["appview/pages/templates/layouts/repobase.html" "appview/pages/templates/repo/tags.html"]; 133 + # }; 134 }; 135 }; 136 });