-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meaningless error message Error: Illegal value for line
#3
Comments
Is there any hint on how to fix it? |
Actually, it doesn't depend on 'golint'. I see that other line linters are failed as well. |
In my environment(Windows, macOS, Linux), it works with provided configuration. If you can debug extension, please see https://github.com/tamayika/vscode-any-lint/blob/main/src/linter.ts#L154-L155 error's stacktrace.
|
@tamayika Thank you for the instructions. 💯 |
I thought that It might be worse to add details to the error message in the vscode console for end-users. So someone could understand errors without a debugger. |
There is a basic golang linter:
I get the next message on
any-lint
console/Users/john/app/pkg/endpoint/new.go:3:1: exported function New should have comment or be unexported
is the single line message on STDOUT fromgolint
. There are no leading or trailing lines.The text was updated successfully, but these errors were encountered: