style: fix helix language formatting

This commit is contained in:
ITOH
2023-04-01 14:16:59 +02:00
committed by GitHub
parent a29e45218d
commit 92ba532e6c

View File

@@ -1,4 +1,24 @@
[[language]]
name = "javascript"
formatter = { command = "npx", args = ["prettier", "--parser", "javascript"] }
auto-format = true
[[language]]
name = "json"
formatter = { command = "npx", args = ["prettier", "--parser", "json"] }
auto-format = true
[[language]]
name = "markdown"
formatter = { command = "npx", args = ["prettier", "--parser", "markdown"] }
auto-format = true
[[language]] [[language]]
name = "typescript" name = "typescript"
formatter = { command = "npx" , args = ["prettier", "--write", "."] } formatter = { command = "npx", args = ["prettier", "--parser", "typescript"] }
auto-format = true
[[language]]
name = "yaml"
formatter = { command = "npx", args = ["prettier", "--parser", "yaml"] }
auto-format = true