aboutsummaryrefslogtreecommitdiff
path: root/treefmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'treefmt.toml')
-rw-r--r--treefmt.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/treefmt.toml b/treefmt.toml
new file mode 100644
index 0000000..ece9c3e
--- /dev/null
+++ b/treefmt.toml
@@ -0,0 +1,16 @@
+[formatter.nix]
+command = "nixpkgs-fmt"
+includes = ["*.nix"]
+
+[formatter.toml]
+command = "taplo"
+options = ["format", "$@"]
+includes = ["*.toml"]
+
+[formatter.prettier]
+command = "prettier"
+options = ["--write"]
+includes = [
+ "*.css",
+ "*.md",
+]