astro-nvim-v3 - fix linter2

This commit is contained in:
huyjaky
2025-01-03 11:57:45 +07:00
parent 193a915d3a
commit 11d5685aaa
7 changed files with 139 additions and 43 deletions

View File

@@ -6,28 +6,37 @@ return {
end,
settings = {
basedpyright = {
pyright = {enabled = false},
analysis = {
-- diagnosticMode = "workspace",
diagnosticMode = "openFilesOnly",
typeCheckingMode = "basic",
typeCheckingMode = "off",
autoImportCompletions = false,
autoSearchPath = true,
autoSearchPath = false,
logLevel = "error",
indexing = true,
inlayHints = {
variableTypes = true,
functionReturnTypes = true,
callArgumentNames = true,
pytestParameters = true,
},
useLibraryCodeForTypes = true,
useLibraryCodeForTypes = false,
strictListInference = true,
strictDictionaryInference = true,
deprecateTypingAliases = false,
enableReachabilityAnalysis = false,
diagnosticSeverityOverrides = {
reportUnusedImport = "information",
reportUnusedFunction = "information",
reportUnusedVariable = "information",
-- reportGeneralTypeIssues = "none",
-- reportOptionalMemberAccess = "none",
-- reportOptionalSubscript = "none",
-- reportPrivateImportUsage = "none",
reportUnusedImport = "none",
reportUnusedFunction = "none",
reportUnusedVariable = "none",
reportGeneralTypeIssues = "none",
reportOptionalMemberAccess = "none",
reportOptionalSubscript = "none",
reportPrivateImportUsage = "none",
reportInvalidStubStatement = "none",
reportIncompleteStub = "none",
},
},
},