✨ [shared] Replace Prettier with Biome
This commit is contained in:
14
treefmt.toml
14
treefmt.toml
@ -2,17 +2,13 @@
|
||||
command = "nixfmt"
|
||||
includes = ["*.nix"]
|
||||
|
||||
[formatter.prettier]
|
||||
command = "prettier"
|
||||
includes = ["*.css", "*.json", "*.jsonc", "*.yaml"]
|
||||
options = ["--write"]
|
||||
[formatter.biome]
|
||||
command = "biome"
|
||||
includes = ["*.css", "*.json", "*.jsonc"]
|
||||
options = ["check", "--write"]
|
||||
|
||||
[formatter.shell]
|
||||
command = "shfmt"
|
||||
includes = ["fmt", "test", "switch"]
|
||||
excludes = []
|
||||
options = [
|
||||
"--indent", "2",
|
||||
"--simplify",
|
||||
"--write",
|
||||
]
|
||||
options = ["--indent", "2", "--simplify", "--write"]
|
||||
|
Reference in New Issue
Block a user