Skip to content

Instantly share code, notes, and snippets.

@numToStr
Last active November 21, 2021 15:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save numToStr/cade1192c61965071a1069fdabf98ab7 to your computer and use it in GitHub Desktop.
[START][2021-11-21 21:10:04] LSP logging initiated
[INFO][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:258 "Starting RPC client" {
args = { "--stdio" },
cmd = "vscode-eslint-language-server",
extra = {}
}
[TRACE][2021-11-21 21:10:04] .../lua/vim/lsp.lua:861 "LSP[eslint]" "initialize_params" {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
textDocument = {
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
snippetSupport = false
},
completionItemKind = {
valueSet = { 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 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 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 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 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 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.6.0"
},
initializationOptions = vim.empty_dict(),
processId = 97369,
rootPath = "/home/hello/Documents/code/eslint-issue",
rootUri = "file:///home/hello/Documents/code/eslint-issue",
trace = "off",
workspaceFolders = { {
name = "/home/hello/Documents/code/eslint-issue",
uri = "file:///home/hello/Documents/code/eslint-issue"
} }
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 1,
jsonrpc = "2.0",
method = "initialize",
params = {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
textDocument = {
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
snippetSupport = false
},
completionItemKind = {
valueSet = { 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 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 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 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 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 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.6.0"
},
initializationOptions = vim.empty_dict(),
processId = 97369,
rootPath = "/home/hello/Documents/code/eslint-issue",
rootUri = "file:///home/hello/Documents/code/eslint-issue",
trace = "off",
workspaceFolders = { {
name = "/home/hello/Documents/code/eslint-issue",
uri = "file:///home/hello/Documents/code/eslint-issue"
} }
}
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "window/logMessage",
params = {
message = "ESLint server running in node v16.13.0",
type = 3
}
}
[TRACE][2021-11-21 21:10:04] .../lua/vim/lsp.lua:706 "notification" "window/logMessage" {
message = "ESLint server running in node v16.13.0",
type = 3
}
[TRACE][2021-11-21 21:10:04] ...lsp/handlers.lua:433 "default_handler" "window/logMessage" {
ctx = '{\n client_id = 1,\n method = "window/logMessage"\n}',
result = {
message = "ESLint server running in node v16.13.0",
type = 3
}
}
[INFO][2021-11-21 21:10:04] ...lsp/handlers.lua:404 "ESLint server running in node v16.13.0"
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
result = {
capabilities = {
codeActionProvider = {
codeActionKinds = { "quickfix", "source.fixAll.eslint" }
},
executeCommandProvider = {
commands = { "eslint.applySingleFix", "eslint.applySuggestion", "eslint.applySameFixes", "eslint.applyAllFixes", "eslint.applyDisableLine", "eslint.applyDisableFile", "eslint.openRuleDoc" }
},
textDocumentSync = {
change = 2,
openClose = true,
save = {
includeText = false
},
willSaveWaitUntil = false
},
workspace = {
workspaceFolders = {
supported = true
}
}
}
}
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "initialized",
params = vim.empty_dict()
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "workspace/didChangeConfiguration",
params = {
settings = {
codeAction = {
disableRuleComment = {
enable = true,
location = "separateLine"
},
showDocumentation = {
enable = true
}
},
codeActionOnSave = {
enable = false,
mode = "all"
},
format = true,
nodePath = "",
onIgnoredFiles = "off",
packageManager = "yarn",
quiet = false,
rulesCustomizations = {},
run = "onType",
useESLintClass = true,
validate = "on",
workingDirectory = {
mode = "auto"
},
workspaceFolder = {
name = "eslint-issue",
uri = "/home/hello/Documents/code/eslint-issue"
}
}
}
}
[DEBUG][2021-11-21 21:10:04] .../lua/vim/lsp.lua:888 "LSP[eslint]" "server_capabilities" {
codeActionProvider = {
codeActionKinds = { "quickfix", "source.fixAll.eslint" }
},
executeCommandProvider = {
commands = { "eslint.applySingleFix", "eslint.applySuggestion", "eslint.applySameFixes", "eslint.applyAllFixes", "eslint.applyDisableLine", "eslint.applyDisableFile", "eslint.openRuleDoc" }
},
textDocumentSync = {
change = 2,
openClose = true,
save = {
includeText = false
},
willSaveWaitUntil = false
},
workspace = {
workspaceFolders = {
supported = true
}
}
}
[INFO][2021-11-21 21:10:04] .../lua/vim/lsp.lua:889 "LSP[eslint]" "initialized" {
resolved_capabilities = {
call_hierarchy = false,
code_action = {
codeActionKinds = { "quickfix", "source.fixAll.eslint" }
},
code_lens = false,
code_lens_resolve = false,
completion = false,
declaration = false,
document_formatting = false,
document_highlight = false,
document_range_formatting = false,
document_symbol = false,
execute_command = true,
find_references = false,
goto_definition = false,
hover = false,
implementation = false,
rename = false,
signature_help = false,
signature_help_trigger_characters = {},
text_document_did_change = 2,
text_document_open_close = true,
text_document_save = {
includeText = false
},
text_document_save_include_text = false,
text_document_will_save = false,
text_document_will_save_wait_until = false,
type_definition = false,
workspace_folder_properties = {
changeNotifications = false,
supported = true
},
workspace_symbol = false
}
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didOpen",
params = {
textDocument = {
languageId = "typescript",
text = '// Require the framework and instantiate it\nimport F from "fastify";\nimport { Hello } from "@eslint-issue/models";\n\nconst fastify = F({\n logger: true,\n});\n\nclass Foo extends Hello {\n constructor() {\n super("numToStr");\n }\n}\n\n// Declare a route\n// eslint-disable-next-line @typescript-eslint/require-await\nfastify.get("/", async () => {\n return {\n hello: new Foo().world(),\n };\n});\n\n// Declare a route\nfastify.get("/name", async (_, rep) => {\n return rep.send({\n name: new Foo().name(),\n });\n});\n\n// Run the server!\nasync function start() {\n await fastify.listen(3000);\n}\n\nstart().catch(err => {\n fastify.log.error(err);\n throw err;\n});\n',
uri = "file:///home/hello/Documents/code/eslint-issue/packages/server/index.ts",
version = 0
}
}
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 0,
jsonrpc = "2.0",
method = "client/registerCapability",
params = {
registrations = { {
id = "4c375a17-575a-4e6d-8ba1-22090682fe1e",
method = "workspace/didChangeConfiguration",
registerOptions = vim.empty_dict()
} }
}
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
method = "client/registerCapability",
params = {
registrations = { {
id = "5693ee59-163f-44ac-ba1c-20e3dd566a5a",
method = "workspace/didChangeWorkspaceFolders",
registerOptions = vim.empty_dict()
} }
}
}
[TRACE][2021-11-21 21:10:04] .../lua/vim/lsp.lua:720 "server_request" "client/registerCapability" {
registrations = { {
id = "4c375a17-575a-4e6d-8ba1-22090682fe1e",
method = "workspace/didChangeConfiguration",
registerOptions = vim.empty_dict()
} }
}
[TRACE][2021-11-21 21:10:04] .../lua/vim/lsp.lua:723 "server_request: found handler for" "client/registerCapability"
[TRACE][2021-11-21 21:10:04] ...lsp/handlers.lua:433 "default_handler" "client/registerCapability" {
ctx = '{\n client_id = 1,\n method = "client/registerCapability"\n}',
result = {
registrations = { {
id = "4c375a17-575a-4e6d-8ba1-22090682fe1e",
method = "workspace/didChangeConfiguration",
registerOptions = vim.empty_dict()
} }
}
}
[WARN][2021-11-21 21:10:04] ...lsp/handlers.lua:108 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 0,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 2,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
scopeUri = "file:///home/hello/Documents/code/eslint-issue/packages/server/index.ts",
section = ""
} }
}
}
[TRACE][2021-11-21 21:10:04] .../lua/vim/lsp.lua:720 "server_request" "client/registerCapability" {
registrations = { {
id = "5693ee59-163f-44ac-ba1c-20e3dd566a5a",
method = "workspace/didChangeWorkspaceFolders",
registerOptions = vim.empty_dict()
} }
}
[TRACE][2021-11-21 21:10:04] .../lua/vim/lsp.lua:723 "server_request: found handler for" "client/registerCapability"
[TRACE][2021-11-21 21:10:04] ...lsp/handlers.lua:433 "default_handler" "client/registerCapability" {
ctx = '{\n client_id = 1,\n method = "client/registerCapability"\n}',
result = {
registrations = { {
id = "5693ee59-163f-44ac-ba1c-20e3dd566a5a",
method = "workspace/didChangeWorkspaceFolders",
registerOptions = vim.empty_dict()
} }
}
}
[WARN][2021-11-21 21:10:04] ...lsp/handlers.lua:108 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 1,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2021-11-21 21:10:04] .../lua/vim/lsp.lua:720 "server_request" "workspace/configuration" {
items = { {
scopeUri = "file:///home/hello/Documents/code/eslint-issue/packages/server/index.ts",
section = ""
} }
}
[TRACE][2021-11-21 21:10:04] .../lua/vim/lsp.lua:723 "server_request: found handler for" "workspace/configuration"
[TRACE][2021-11-21 21:10:04] ...lsp/handlers.lua:433 "default_handler" "workspace/configuration" {
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}',
result = {
items = { {
scopeUri = "file:///home/hello/Documents/code/eslint-issue/packages/server/index.ts",
section = ""
} }
}
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = { {
codeAction = {
disableRuleComment = {
enable = true,
location = "separateLine"
},
showDocumentation = {
enable = true
}
},
codeActionOnSave = {
enable = false,
mode = "all"
},
format = true,
nodePath = "",
onIgnoredFiles = "off",
packageManager = "yarn",
quiet = false,
rulesCustomizations = {},
run = "onType",
useESLintClass = true,
validate = "on",
workingDirectory = {
mode = "auto"
},
workspaceFolder = {
name = "eslint-issue",
uri = "/home/hello/Documents/code/eslint-issue"
}
} },
status = true
}
[DEBUG][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 2,
jsonrpc = "2.0",
result = { {
codeAction = {
disableRuleComment = {
enable = true,
location = "separateLine"
},
showDocumentation = {
enable = true
}
},
codeActionOnSave = {
enable = false,
mode = "all"
},
format = true,
nodePath = "",
onIgnoredFiles = "off",
packageManager = "yarn",
quiet = false,
rulesCustomizations = {},
run = "onType",
useESLintClass = true,
validate = "on",
workingDirectory = {
mode = "auto"
},
workspaceFolder = {
name = "eslint-issue",
uri = "/home/hello/Documents/code/eslint-issue"
}
} }
}
[DEBUG][2021-11-21 21:10:06] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "window/logMessage",
params = {
message = "ESLint library loaded from: /home/hello/Documents/code/eslint-issue/node_modules/eslint/lib/api.js",
type = 3
}
}
[TRACE][2021-11-21 21:10:06] .../lua/vim/lsp.lua:706 "notification" "window/logMessage" {
message = "ESLint library loaded from: /home/hello/Documents/code/eslint-issue/node_modules/eslint/lib/api.js",
type = 3
}
[TRACE][2021-11-21 21:10:06] ...lsp/handlers.lua:433 "default_handler" "window/logMessage" {
ctx = '{\n client_id = 1,\n method = "window/logMessage"\n}',
result = {
message = "ESLint library loaded from: /home/hello/Documents/code/eslint-issue/node_modules/eslint/lib/api.js",
type = 3
}
}
[INFO][2021-11-21 21:10:06] ...lsp/handlers.lua:404 "ESLint library loaded from: /home/hello/Documents/code/eslint-issue/node_modules/eslint/lib/api.js"
[DEBUG][2021-11-21 21:10:06] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 3,
jsonrpc = "2.0",
method = "client/registerCapability",
params = {
registrations = { {
id = "1ded684f-9161-4fbf-9be6-050d4ffa1de2",
method = "textDocument/formatting",
registerOptions = {
documentSelector = { {
pattern = "/home/hello/Documents/code/eslint-issue/packages/server/index.ts",
scheme = "file"
} }
}
} }
}
}
[TRACE][2021-11-21 21:10:06] .../lua/vim/lsp.lua:720 "server_request" "client/registerCapability" {
registrations = { {
id = "1ded684f-9161-4fbf-9be6-050d4ffa1de2",
method = "textDocument/formatting",
registerOptions = {
documentSelector = { {
pattern = "/home/hello/Documents/code/eslint-issue/packages/server/index.ts",
scheme = "file"
} }
}
} }
}
[TRACE][2021-11-21 21:10:06] .../lua/vim/lsp.lua:723 "server_request: found handler for" "client/registerCapability"
[TRACE][2021-11-21 21:10:06] ...lsp/handlers.lua:433 "default_handler" "client/registerCapability" {
ctx = '{\n client_id = 1,\n method = "client/registerCapability"\n}',
result = {
registrations = { {
id = "1ded684f-9161-4fbf-9be6-050d4ffa1de2",
method = "textDocument/formatting",
registerOptions = {
documentSelector = { {
pattern = "/home/hello/Documents/code/eslint-issue/packages/server/index.ts",
scheme = "file"
} }
}
} }
}
}
[WARN][2021-11-21 21:10:06] ...lsp/handlers.lua:108 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[DEBUG][2021-11-21 21:10:06] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-21 21:10:06] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 3,
jsonrpc = "2.0",
result = vim.NIL
}
[ERROR][2021-11-21 21:10:08] .../vim/lsp/rpc.lua:412 "rpc" "vscode-eslint-language-server" "stderr" "jsxBracketSameLine is deprecated.\n"
[DEBUG][2021-11-21 21:10:09] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "@typescript-eslint/no-unsafe-call",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-call.md"
},
message = "Unsafe call of an `any` typed value.",
range = {
end = {
character = 13,
line = 10
},
start = {
character = 8,
line = 10
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-assignment",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-assignment.md"
},
message = "Unsafe assignment of an `any` value.",
range = {
end = {
character = 32,
line = 18
},
start = {
character = 8,
line = 18
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-call",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-call.md"
},
message = "Unsafe call of an `any` typed value.",
range = {
end = {
character = 30,
line = 18
},
start = {
character = 15,
line = 18
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-assignment",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-assignment.md"
},
message = "Unsafe assignment of an `any` value.",
range = {
end = {
character = 30,
line = 25
},
start = {
character = 8,
line = 25
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-call",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-call.md"
},
message = "Unsafe call of an `any` typed value.",
range = {
end = {
character = 28,
line = 25
},
start = {
character = 14,
line = 25
}
},
severity = 1,
source = "eslint"
} },
uri = "file:///home/hello/Documents/code/eslint-issue/packages/server/index.ts"
}
}
[TRACE][2021-11-21 21:10:09] .../lua/vim/lsp.lua:706 "notification" "textDocument/publishDiagnostics" {
diagnostics = { {
code = "@typescript-eslint/no-unsafe-call",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-call.md"
},
message = "Unsafe call of an `any` typed value.",
range = {
end = {
character = 13,
line = 10
},
start = {
character = 8,
line = 10
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-assignment",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-assignment.md"
},
message = "Unsafe assignment of an `any` value.",
range = {
end = {
character = 32,
line = 18
},
start = {
character = 8,
line = 18
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-call",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-call.md"
},
message = "Unsafe call of an `any` typed value.",
range = {
end = {
character = 30,
line = 18
},
start = {
character = 15,
line = 18
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-assignment",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-assignment.md"
},
message = "Unsafe assignment of an `any` value.",
range = {
end = {
character = 30,
line = 25
},
start = {
character = 8,
line = 25
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-call",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-call.md"
},
message = "Unsafe call of an `any` typed value.",
range = {
end = {
character = 28,
line = 25
},
start = {
character = 14,
line = 25
}
},
severity = 1,
source = "eslint"
} },
uri = "file:///home/hello/Documents/code/eslint-issue/packages/server/index.ts"
}
[TRACE][2021-11-21 21:10:09] ...lsp/handlers.lua:433 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = { {
code = "@typescript-eslint/no-unsafe-call",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-call.md"
},
message = "Unsafe call of an `any` typed value.",
range = {
end = {
character = 13,
line = 10
},
start = {
character = 8,
line = 10
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-assignment",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-assignment.md"
},
message = "Unsafe assignment of an `any` value.",
range = {
end = {
character = 32,
line = 18
},
start = {
character = 8,
line = 18
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-call",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-call.md"
},
message = "Unsafe call of an `any` typed value.",
range = {
end = {
character = 30,
line = 18
},
start = {
character = 15,
line = 18
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-assignment",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-assignment.md"
},
message = "Unsafe assignment of an `any` value.",
range = {
end = {
character = 30,
line = 25
},
start = {
character = 8,
line = 25
}
},
severity = 1,
source = "eslint"
}, {
code = "@typescript-eslint/no-unsafe-call",
codeDescription = {
href = "https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-unsafe-call.md"
},
message = "Unsafe call of an `any` typed value.",
range = {
end = {
character = 28,
line = 25
},
start = {
character = 14,
line = 25
}
},
severity = 1,
source = "eslint"
} },
uri = "file:///home/hello/Documents/code/eslint-issue/packages/server/index.ts"
}
}
[DEBUG][2021-11-21 21:10:09] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "eslint/status",
params = {
state = 1,
uri = "file:///home/hello/Documents/code/eslint-issue/packages/server/index.ts"
}
}
[TRACE][2021-11-21 21:10:09] .../lua/vim/lsp.lua:706 "notification" "eslint/status" {
state = 1,
uri = "file:///home/hello/Documents/code/eslint-issue/packages/server/index.ts"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment