diff options
author | Azat Bahawi <azat@bahawi.net> | 2022-02-16 02:15:52 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-02-16 02:15:52 +0300 |
commit | 13964faa53b09924bdd27328311ba27457b0b61d (patch) | |
tree | 73dcca227f3084fd1fa09fd4d3323544b61218ea /treefmt.toml | |
parent | meh (diff) |
I hate the Antichrist
Diffstat (limited to '')
-rw-r--r-- | treefmt.toml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/treefmt.toml b/treefmt.toml new file mode 100644 index 0000000..ff039ef --- /dev/null +++ b/treefmt.toml @@ -0,0 +1,24 @@ +[formatter.haskell] +command = "" +includes = ["*.hs"] + +[formatter.shell] +command = "/bin/sh" +options = [ + "-euc", + """ +shellcheck "$@" +shfmt -s -w "$@" + """, + "--", +] +includes = ["*.sh"] + +[formatter.prettier] +command = "prettier" +options = ["--write"] +includes = ["*.yaml"] + +[formatter.nix] +command = "nixfmt" +includes = ["*.nix"] |