tangled
alpha
login
or
join now
biscui.tech
/
dotfiles
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
fixed prettier on tsx files
biscui.tech
2 years ago
4568bcb9
5175ba64
+1
-3
1 changed file
expand all
collapse all
unified
split
.config
helix
languages.toml
+1
-3
.config/helix/languages.toml
···
55
55
[[language]]
56
56
name = "tsx"
57
57
language-servers = [ "typescript-language-server", "eslint" ]
58
58
-
# formatter = { command = "prettier", args = [ "--parser", "babel-ts" ] }
59
59
-
formatter = { command = "prettier", args = ["--stdin-filepath", "file.ts"] }
58
58
+
formatter = { command = "prettier", args = ["--stdin-filepath", "file.tsx"] }
60
59
# formatter = { command = "dprint", args = [ "fmt", "--stdin", "tsx" ] }
61
61
-
# roots = ["package-lock.json", "tsconfig.json", ".prettierrc.json"]
62
60
auto-format = true
63
61
file-types = ["tsx", "mtsx", "ctsx"]
64
62