Swap prettier for djlint

This commit is contained in:
Jan Kremer 2026-02-26 07:35:56 +01:00
parent e2fd2a13e8
commit 212ca46616
No known key found for this signature in database
12 changed files with 150 additions and 178 deletions

View file

@ -1,26 +1,10 @@
{ pkgs, ... }:
{
programs = {
nixfmt.enable = true;
gofmt.enable = true;
taplo.enable = true;
prettier = {
enable = true;
settings = {
plugins = [
"${pkgs.prettier-plugin-go-template}/lib/node_modules/prettier-plugin-go-template/lib/index.js"
];
overrides = [
{
files = [ "*.html" ];
options.parser = "go-template";
}
];
};
};
djlint.enable = true;
};
settings.global.excludes = [
"archetypes/**"
"public/**"
"static/**"
".envrc"