this repo has no description

fixed prettier on tsx files

+1 -3
+1 -3
.config/helix/languages.toml
··· 55 55 [[language]] 56 56 name = "tsx" 57 57 language-servers = [ "typescript-language-server", "eslint" ] 58 - # formatter = { command = "prettier", args = [ "--parser", "babel-ts" ] } 59 - formatter = { command = "prettier", args = ["--stdin-filepath", "file.ts"] } 58 + formatter = { command = "prettier", args = ["--stdin-filepath", "file.tsx"] } 60 59 # formatter = { command = "dprint", args = [ "fmt", "--stdin", "tsx" ] } 61 - # roots = ["package-lock.json", "tsconfig.json", ".prettierrc.json"] 62 60 auto-format = true 63 61 file-types = ["tsx", "mtsx", "ctsx"] 64 62