From 8e3e7a0c4551583493e212d70449cee308ef04c0 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 19 Jul 2024 17:31:22 -0700 Subject: use just as a task runner --- treefmt.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 treefmt.toml (limited to 'treefmt.toml') 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", +] -- cgit v1.2.3