mirror of
https://github.com/numtide/treefmt.git
synced 2024-10-05 13:07:17 +03:00
Updated Home (markdown)
parent
643f5179cd
commit
b764641ae5
22
Home.md
22
Home.md
@ -2,6 +2,15 @@ Welcome to the treefmt wiki!
|
||||
|
||||
## Languages
|
||||
|
||||
### elm
|
||||
|
||||
```
|
||||
[formatter.elm]
|
||||
command = "elm-format"
|
||||
options = ["--yes"]
|
||||
includes = ["*.elm"]
|
||||
```
|
||||
|
||||
### nix
|
||||
|
||||
```
|
||||
@ -19,6 +28,19 @@ options = ["--inplace"]
|
||||
includes = ["*.cabal"]
|
||||
````
|
||||
|
||||
```
|
||||
[formatter.haskell]
|
||||
command = "ormolu"
|
||||
options = [
|
||||
"--ghc-opt", "-XBangPatterns",
|
||||
"--ghc-opt", "-XPatternSynonyms",
|
||||
"--ghc-opt", "-XTypeApplications",
|
||||
"--mode", "inplace",
|
||||
"--check-idempotence",
|
||||
]
|
||||
includes = ["*.hs"]
|
||||
```
|
||||
|
||||
### go
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user