fix(conform): use proper formatters and add jsx/tsx support
This commit is contained in:
parent
061ddf7584
commit
e0c24068b2
1 changed files with 6 additions and 2 deletions
|
|
@ -11,9 +11,13 @@ return {
|
||||||
yaml = { "prettier" },
|
yaml = { "prettier" },
|
||||||
json = { "jq" },
|
json = { "jq" },
|
||||||
css = { "prettier" },
|
css = { "prettier" },
|
||||||
|
xml = { "xmlformatter" },
|
||||||
|
svg = { "xmlformatter" },
|
||||||
javascript = { "biome", "prettier" },
|
javascript = { "biome", "prettier" },
|
||||||
typescript = { "biome" },
|
javascriptreact = { "biome", "prettier" },
|
||||||
["*"] = { "codespell", "trim_whitespace" },
|
typescript = { "biome", "prettier" },
|
||||||
|
typescriptreact = { "biome", "prettier" },
|
||||||
|
["*"] = { "trim_whitespace" },
|
||||||
},
|
},
|
||||||
formatters = {
|
formatters = {
|
||||||
biome = {
|
biome = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue