Update some docs

This commit is contained in:
Michael Wolf
2024-04-03 11:26:30 -06:00
parent d16dfaff1f
commit 970a92def9
3 changed files with 20 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
would-reformat - automatic reformatting for emacs without being annoying
would-reformat - automatic reformatting for emacs (and maybe other editors) without being annoying
# Motivation
@@ -38,9 +38,13 @@ saving a file and to run `do-reformat.sh` when you hit `<F1>`.
- typescript
- vue
Out of the box, python uses `isort` and `black`, go uses `gofmt`, and dart
uses `dart format`. The rest use `prettier`. Adding new programming
languages is easy, assuming they have a formatter with a dry run mode.
Out of the box, for python we use `isort` and `black`, for go we use `gofmt`,
for dart we use `dart format`, for rust we use `rustfmt`, and for everything
else we use `prettier`.
Adding suuport for other programming languages is easy, assuming they have a
formatter with a dry run mode. And even if they don't it shouldn't be that
bad.
# Installation