mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
style: fix helix language formatting
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user