astro-nvim-v3 - fix linter2
This commit is contained in:
@@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user