apheleia/test/formatters/installers
Terje Larsen 1d6f821784
Add support for treefmt (#280)
This formatter is formatting via
[treefmt](https://numtide.github.io/treefmt). This is useful if the
project is configuring formatters for the project and you don't have to
replicate this logic within Emacs, but instead utilize treefmt directly.

To do that you can set the `apheleia-formatter` to `treefmt` within the
projects `.dir-locals.el`.

I noticed there are tests for this, since treefmt could technically
format anything, I went with treefmt formatting rust code. It also
relies on having a `treefmt.toml` in the project folder, so had to add
that as well in the tests.
2024-01-12 12:10:45 -07:00
..
asmfmt.bash Add asmfmt formatter (#168) 2023-04-22 10:26:49 +01:00
astyle.bash Add astyle formatter (#169) 2023-04-22 10:36:38 +01:00
bean-format.bash Add bean-format (#101) 2022-06-20 14:51:17 -07:00
beautysh.bash Add beautysh formatter (#170) 2023-04-22 11:34:12 +01:00
black.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
brittany.bash Bump test environment to Ubuntu 22.04 (#242) 2023-11-11 16:24:28 -08:00
buildifier.bash Add buildifier formatter (#171) 2023-04-22 11:38:15 +01:00
caddyfmt.bash Add formatter for Caddyfile (#154) 2023-02-18 17:00:08 -08:00
clang-format.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
cljfmt.bash Add support for cljfmt (#271) 2023-12-14 18:03:18 -08:00
cmake-format.bash Add cmake-format formatter (#172) 2023-04-22 11:41:37 +01:00
crystal-tool-format.bash Add Crystal lang support. (#137) 2022-10-24 17:42:15 -07:00
css-beautify.bash Add js-beautify based formatters (#229) 2023-11-26 10:49:21 +00:00
dart-format.bash Dart format support (#89) 2022-05-01 14:51:27 -07:00
denofmt-js.bash Add denofmt (#264) 2023-11-29 19:25:11 +00:00
denofmt-json.bash Add denofmt (#264) 2023-11-29 19:25:11 +00:00
denofmt-jsonc.bash Add denofmt (#264) 2023-11-29 19:25:11 +00:00
denofmt-jsx.bash Add denofmt (#264) 2023-11-29 19:25:11 +00:00
denofmt-md.bash Add denofmt (#264) 2023-11-29 19:25:11 +00:00
denofmt-ts.bash Add denofmt (#264) 2023-11-29 19:25:11 +00:00
denofmt-tsx.bash Add denofmt (#264) 2023-11-29 19:25:11 +00:00
denofmt.bash Add denofmt (#264) 2023-11-29 19:25:11 +00:00
docformatter.bash Add docformatter which formats Python docstrings to PEP 257 (#267) 2023-12-14 18:46:12 -08:00
dprint.bash Add support for dprint (#249) 2023-12-14 18:30:35 -08:00
elm-format.bash Add elm-format (#100) 2022-09-03 10:57:40 -07:00
fish-indent.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
fourmolu.bash Bump test environment to Ubuntu 22.04 (#242) 2023-11-11 16:24:28 -08:00
gawk.bash Add gawk formatter (#187) 2023-04-20 14:33:53 +01:00
gofmt.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
gofumpt.bash use up-to-date golang (#218) 2023-10-06 21:47:52 -07:00
goimports.bash use up-to-date golang (#218) 2023-10-06 21:47:52 -07:00
google-java-format.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
hclfmt.bash Use hclfmt to format hashicorp HCL files. (#231) 2023-10-29 15:17:34 -07:00
html-beautify.bash Add js-beautify based formatters (#229) 2023-11-26 10:49:21 +00:00
html-tidy.bash Add html-tidy formatter (#173) 2023-04-22 11:44:44 +01:00
isort.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
jq.bash Add jq formatter (#174) 2023-04-20 13:50:03 +01:00
js-beautify.bash Add js-beautify based formatters (#229) 2023-11-26 10:49:21 +00:00
ktlint.bash Add ktlint (#97) 2022-05-13 09:23:57 -07:00
latexindent.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
lisp-indent.bash Add emacs-lisp formatting (#102) 2022-09-03 11:22:35 -07:00
mix-format.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
nixfmt.bash Bump test environment to Ubuntu 22.04 (#242) 2023-11-11 16:24:28 -08:00
ocamlformat.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
ormolu.bash Bump test environment to Ubuntu 22.04 (#242) 2023-11-11 16:24:28 -08:00
perltidy.bash Add perltidy formatter (#175) 2023-04-22 11:48:38 +01:00
pgformatter.bash Add support for SQL using pgformatter (#247) 2023-11-23 14:03:37 -08:00
phpcs.bash Add phpcs & introduce scripts/formatters (#87) 2022-05-11 16:26:33 -07:00
prettier-css.bash [#103] Specify --parser in Prettier (#107) 2022-09-10 17:24:54 -07:00
prettier-graphql.bash [#103] Specify --parser in Prettier (#107) 2022-09-10 17:24:54 -07:00
prettier-html.bash [#103] Specify --parser in Prettier (#107) 2022-09-10 17:24:54 -07:00
prettier-javascript.bash [#103] Specify --parser in Prettier (#107) 2022-09-10 17:24:54 -07:00
prettier-json.bash [#103] Specify --parser in Prettier (#107) 2022-09-10 17:24:54 -07:00
prettier-markdown.bash [#103] Specify --parser in Prettier (#107) 2022-09-10 17:24:54 -07:00
prettier-ruby.bash Add support for formatters locally installed via yarn 2+ pnp mode (#200) 2023-11-05 12:08:58 -08:00
prettier-scss.bash [#103] Specify --parser in Prettier (#107) 2022-09-10 17:24:54 -07:00
prettier-svelte.bash Add support for formatters locally installed via yarn 2+ pnp mode (#200) 2023-11-05 12:08:58 -08:00
prettier-typescript.bash [#103] Specify --parser in Prettier (#107) 2022-09-10 17:24:54 -07:00
prettier-yaml.bash [#103] Specify --parser in Prettier (#107) 2022-09-10 17:24:54 -07:00
prettier.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
purs-tidy.bash Add purs-tidy formatter (#182) 2023-03-29 14:35:02 -07:00
python3-json.bash Add support for JSON with python3 -m json.tool (#257) 2023-12-14 18:04:19 -08:00
robotidy.bash Add support for Robot Framework files with robotidy (#263) 2023-11-28 22:50:25 +00:00
rubocop.bash Add rubocop formatter (#176) 2023-04-22 11:53:13 +01:00
ruby-standard.bash Add ruby-standard formatter (#201) 2023-08-11 17:25:58 -07:00
ruby-syntax-tree.bash Add ruby-syntax-tree format support (#224) 2023-12-21 20:34:11 -07:00
ruff.bash Add support for the ruff python formatter (#236) 2023-11-04 18:23:00 +00:00
rufo.bash Add rufo formatter (#177) 2023-04-22 11:56:29 +01:00
rustfmt.bash Bump test environment to Ubuntu 22.04 (#242) 2023-11-11 16:24:28 -08:00
shfmt.bash Add shfmt (#90) 2022-05-12 12:52:57 -07:00
stylua.bash Add stylua (#105) 2022-06-20 14:21:27 -07:00
terraform.bash Add formatter tests (#72) 2022-01-05 15:35:12 -08:00
treefmt.bash Add support for treefmt (#280) 2024-01-12 12:10:45 -07:00
xmllint.bash Add support for xmllint (#251) 2023-11-23 12:34:41 -08:00
yapf.bash Add yapf formatter (#196) 2023-05-27 10:55:56 -07:00
yq-csv.bash Add support for yq (#250) 2023-11-23 12:19:04 -08:00
yq-json.bash Add support for yq (#250) 2023-11-23 12:19:04 -08:00
yq-properties.bash Add support for yq (#250) 2023-11-23 12:19:04 -08:00
yq-tsv.bash Add support for yq (#250) 2023-11-23 12:19:04 -08:00
yq-xml.bash Add support for yq (#250) 2023-11-23 12:19:04 -08:00
yq-yaml.bash Add support for yq (#250) 2023-11-23 12:19:04 -08:00