tangled
alpha
login
or
join now
biscui.tech
/
dotfiles
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
prettier fix
biscui.tech
2 years ago
edcb22d1
c7e5bc05
+8
-4
1 changed file
expand all
collapse all
unified
split
.config
helix
languages.toml
+8
-4
.config/helix/languages.toml
···
52
52
injection-regex = "(ts|typescript)"
53
53
language-servers = [ "typescript-language-server", "eslint" ]
54
54
# language-servers = [ { except-features = ["format"], name = "typescript-language-server" }, "eslint" ]
55
55
-
formatter = { command = "prettier", args = [ "--parser", "typescript" ] }
55
55
+
# formatter = { command = "prettier", args = [ "--parser", "babel-ts" ] }
56
56
+
formatter = "prettier"
56
57
# formatter = { command = "dprint", args = [ "fmt", "--stdin", "typescript" ] }
57
58
auto-format = true
58
59
file-types = ["ts", "mts", "cts"]
···
60
61
[[language]]
61
62
name = "tsx"
62
63
language-servers = [ "typescript-language-server", "eslint" ]
63
63
-
formatter = { command = "prettier", args = [ "--parser", "typescript" ] }
64
64
+
# formatter = { command = "prettier", args = [ "--parser", "babel-ts" ] }
65
65
+
formatter = "prettier"
64
66
# formatter = { command = "dprint", args = [ "fmt", "--stdin", "tsx" ] }
65
67
auto-format = true
66
68
67
69
[[language]]
68
70
name = "javascript"
69
71
language-servers = [ "typescript-language-server", "eslint" ]
70
70
-
formatter = { command = "prettier", args = [ "--parser", "typescript" ] }
72
72
+
# formatter = { command = "prettier", args = [ "--parser", "babel-ts" ] }
73
73
+
formatter = "prettier"
71
74
# formatter = { command = "dprint", args = [ "fmt", "--stdin", "javascript" ] }
72
75
auto-format = true
73
76
74
77
[[language]]
75
78
name = "jsx"
76
79
language-servers = [ "typescript-language-server", "eslint" ]
77
77
-
formatter = { command = "prettier", args = [ "--parser", "typescript" ] }
80
80
+
# formatter = { command = "prettier", args = [ "--parser", "babel-ts" ] }
81
81
+
formatter = "prettier"
78
82
# formatter = { command = "dprint", args = [ "fmt", "--stdin", "jsx" ] }
79
83
auto-format = true
80
84