flake.nix: add prettier hook
This commit is contained in:
parent
c65b649ff4
commit
2462e16382
1 changed files with 4 additions and 5 deletions
|
@ -63,6 +63,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
excludes = ["overlays.nix"];
|
excludes = ["overlays.nix"];
|
||||||
};
|
};
|
||||||
|
prettier = {
|
||||||
|
enable = true;
|
||||||
|
files = "\\.(js|ts|md)$";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -72,13 +76,8 @@
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
git
|
git
|
||||||
sops
|
sops
|
||||||
alejandra
|
|
||||||
statix
|
|
||||||
deadnix
|
|
||||||
stylua
|
|
||||||
yaml-language-server
|
yaml-language-server
|
||||||
lua-language-server
|
lua-language-server
|
||||||
nodePackages.typescript-language-server
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
formatter.${system} = pkgs.alejandra;
|
formatter.${system} = pkgs.alejandra;
|
||||||
|
|
Loading…
Reference in a new issue