diff options
Diffstat (limited to 'treefmt.nix')
| -rw-r--r-- | treefmt.nix | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/treefmt.nix b/treefmt.nix index 970592a..03f31a2 100644 --- a/treefmt.nix +++ b/treefmt.nix @@ -1,5 +1,44 @@ { ... }: { projectRootFile = "flake.nix"; - programs.nixfmt.enable = true; + programs = { + nixfmt.enable = true; + beautysh = { + enable = true; + includes = [ + "*.sh" + "*.bash" + ".envrc" + ]; + }; + deno = { + enable = true; + includes = [ + "*.css" + "*.html" + "*.js" + "*.json" + "*.json5" + "*.jsonc" + "*.jsx" + "*.less" + "*.markdown" + "*.md" + "*.sass" + "*.scss" + "*.ts" + "*.tsx" + "*.yaml" + "*.yml" + ]; + }; + }; + + settings.global.excludes = [ + "secrets/*" + ".gitattributes" + ".gitignore" + ".ignore" + ".helix/ignore" + ]; } |
