diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-07-19 17:31:22 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-07-19 17:31:22 -0700 |
| commit | 8e3e7a0c4551583493e212d70449cee308ef04c0 (patch) | |
| tree | 61eadc2daa598a145e54190fcbcf14c759d5eccc /treefmt.toml | |
| parent | check for broken links (diff) | |
| download | fcuny.net-8e3e7a0c4551583493e212d70449cee308ef04c0.tar.gz | |
use just as a task runner
Diffstat (limited to '')
| -rw-r--r-- | treefmt.toml | 16 |
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", +] |
