26
treefmt.nix
Normal file
26
treefmt.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ ... }:
|
||||
{
|
||||
projectRootFile = "flake.nix";
|
||||
|
||||
programs = {
|
||||
nixfmt = {
|
||||
enable = true;
|
||||
strict = true;
|
||||
};
|
||||
|
||||
shellcheck.enable = true;
|
||||
prettier.enable = true;
|
||||
gofmt.enable = true;
|
||||
};
|
||||
|
||||
settings.global.excludes = [
|
||||
# Git
|
||||
"*/.gitignore"
|
||||
".gitattributes"
|
||||
".envrc"
|
||||
# Manifest Files
|
||||
"*/package.json"
|
||||
"*/go.mod"
|
||||
"*/bun.lockb"
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user