Closed tkolleh closed 4 years ago
Hey there, sorry I missed this issue. gqlint outputs two types of errors:
"warn" or 1 - turn the rule on as a warning (doesn't affect exit code)
"error" or 2 - turn the rule on as an error (exit code will be 1)
Hope that helps!
Thanks for the response. I've moved to a graphql LSP.
What are the different log levels printed by gqlint?
TL:DR; Regex capture errors, warnings, etc... then map to language server plugin equivalent.
I intend to describe gqlint in the coc-settings.json file for the coc-diagnostic plug. There a field asks for possible
securities
to capture linter output severity for the diagnostic plugin.(view provided regex)