js 默认配置

This commit is contained in:
chuyanlong 2025-09-28 22:18:59 +08:00
parent a03125cee6
commit 75ca4c310f

View file

@ -50,14 +50,18 @@ return {
},
},
},
["js/ts"] = {
implicitProjectConfig = {
checkJs = true,
strictNullChecks = true,
strictFunctionTypes = true,
},
},
typescript = {
updateImportsOnFileMove = { enabled = "always" },
suggest = {
completeFunctionCalls = true,
},
implicitProjectConfiguration = {
checkJs = true,
},
inlayHints = {
enumMemberValues = { enabled = true },
functionLikeReturnTypes = { enabled = true },