-
Notifications
You must be signed in to change notification settings - Fork 0
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
golangci-lint is not reporting issues that golint catches #29
Comments
Rolling back to v1.25.0 didn't change anything. |
Until I can figure this out, I might need to bring back the standalone golint command:
|
Opened bug report: For now, I'll add back the golint command until this can be sorted. |
- Remove golint call from Makefile - Remove `--exclude-use-default` CLI flag - Add explicit config settings to disable default exclusions This same config change will need to be pushed to all other repos where I am using this config set. Note to self: Docker container sooner than later perhaps? - refs #92 - refs atc0005/todo#29 - refs atc0005/todo#22
- Remove golint call from Makefile - Remove `--exclude-use-default` CLI flag - Add explicit config settings to disable default exclusions This same config change will need to be pushed to all other repos where I am using this config set. Note to self: Docker container sooner than later perhaps? - refs #92 - refs atc0005/todo#29 - refs atc0005/todo#22
As noted in the golangci-lint GH issue and on atc0005/brick#113, the "problem" is that some linting checks are disabled by default due to their high false-positive rate. You have to explicitly re-enable those checks. atc0005/brick#113 did so for the Yet another reason to push forward with the use of a custom Docker container for linting my Go projects. |
Add explicit config settings to disable default exclusions This same config change will need to be pushed to all other repos where I am using this config set. Note to self: Docker container sooner than later perhaps? - refs atc0005/todo#29 - refs atc0005/todo#22
Add explicit config settings to disable default exclusions This same config change will need to be pushed to all other repos where I am using this config set. Note to self: Docker container sooner than later perhaps? - refs atc0005/todo#29 - refs atc0005/todo#22
Add explicit config settings to disable default exclusions This same config change will need to be pushed to all other repos where I am using this config set. Note to self: Docker container sooner than later perhaps? - refs atc0005/todo#29 - refs atc0005/todo#22
Add explicit config settings to disable default exclusions This same config change will need to be pushed to all other repos where I am using this config set. - refs #273 - refs atc0005/todo#29
Add explicit config settings to disable default exclusions This same config change will need to be pushed to all other repos where I am using this config set. - refs #273 - refs atc0005/todo#29
Add explicit config settings to disable default exclusions This same config change will need to be pushed to all other repos where I am using this config set. - refs #273 - refs atc0005/todo#29
Add explicit config settings to disable default exclusions This same config change will need to be pushed to all other repos where I am using this config set. - refs #273 - refs atc0005/todo#29
See also #9 (comment)
While working on another project, I used a VSCode instance within a VM that did not have golangci-lint installed, and so defaulted to using
golint
for linting. It caught these issues that golangci-lint didn't report:I substituted the real package names with placeholders, but the rest is untouched.
Here is the entries in the
.golangci.yml
file:This is with golangci-lint v1.28.3.
The text was updated successfully, but these errors were encountered: