fmt: reformat
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
Test templates, puts into cache / nix (nix-runner) (push) Successful in 6m33s

This commit is contained in:
2025-03-24 04:12:00 -05:00
parent 9dbe1605e0
commit a057d9bcc7
13 changed files with 368 additions and 344 deletions

View File

@@ -1,5 +1,6 @@
# treefmt.nix
{...}: {
{ ... }:
{
projectRootFile = "treefmt.nix";
settings.global.excludes = [
"*.toml"
@@ -14,23 +15,17 @@
programs.mdsh.enable = true;
# programs.nixfmt.enable = true;
# settings.formatter.nixfmt.indent = " ";
programs.alejandra.enable = true;
settings.formatter.alejandra.indentation = "Tabs";
programs.nixfmt.enable = true;
programs.shellcheck.enable = true;
programs.shfmt.enable = true;
settings.formatter.shfmt.indent = "\t";
settings.formatter.shfmt.indent_size = 0;
programs.yamlfmt.enable = true;
settings.formatter.yamlfmt.indent = 1; # yamlfmt uses number of tab characters for indent
settings.formatter.yamlfmt.use_tabs = true;
programs.just.enable = true; # just format uses tabs by default if first line has tabs
programs.just.enable = true;
programs.stylua.enable = true; # Already configured for tabs in stylua.toml
programs.stylua.enable = true;
# Formatter specific settings
}