Add autoformatting to ts and js

main
trivernis 1 year ago
parent 0b146ca625
commit 791b06922d
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -5,13 +5,15 @@ args = ["lsp-proxy"]
[[language]]
name = "typescript"
language-servers = ["typescript-language-server", "biome"]
auto-format = true
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.ts"] }
[[language]]
name = "javascript"
language-servers = ["typescript-language-server", "biome"]
auto-format = true
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.js"] }
[[language]]
name = "javascript"
name = "json"
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.json"] }

Loading…
Cancel
Save