-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlanguages.toml
64 lines (55 loc) · 1.72 KB
/
languages.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[[language]]
name = "json"
indent = { tab-width = 4, unit = " " }
[[language]]
name = "tsx"
auto-format = true
language-servers = [
"typescript-language-server",
{ name = "eslint", except-features = ["format"] },
"tailwind"
]
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
[[language]]
name = "typescript"
auto-format = true
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
language-servers = [
"typescript-language-server",
{ name = "eslint", except-features = ["format"] },
]
[language-server.typescript-language-server.config.format]
convertTabsToSpaces = true
indentSize = 4
tabSize = 4
[language-server.typescript-language-server.config.inlayHints]
includeInlayEnumMemberValueHints = true
includeInlayFunctionLikeReturnTypeHints = true
includeInlayFunctionParameterTypeHints = true
includeInlayParameterNameHints = "all"
includeInlayParameterNameHintsWhenArgumentMatchesName = true
includeInlayPropertyDeclarationTypeHints = true
includeInlayVariableTypeHints = true
includeInlayVariableTypeHintsWhenTypeMatchesName = true
[language-server.eslint]
command = "vscode-eslint-language-server"
args = ["--stdio", "-vvv"]
[language-server.eslint.config]
format = true
nodePath = ""
onIgnoredFiles = "off"
packageManager = "yarn"
quiet = false
rulesCustomizations = []
run = "onType"
useESLintClass = false
validate = "on"
codeAction = { disableRuleComment = { enable = true, location = "separateLine" }, showDocumentation = { enable = true } }
codeActionOnSave = { mode = "all" }
experimental = { }
problems = { shortenToSingleLine = false }
workingDirectory = { mode = "auto" }
[language-server.tailwind]
command = "tailwindcss-language-server"
args = ["--stdio"]
roots = ["tailwind.config.ts"]