We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
When using presets, disable doesn't work.
presets
disable
As a workaround, it's possible to use exclude-rules, but that's probably less efficient since I'd guess the linters still run:
exclude-rules
issues: exclude-rules: - path: '.' linters: - typecheck
$ golangci-lint --version golangci-lint has version 1.50.1 built from v1.50.1 on 19700101-00:00:00
$ cat .golangci.yml linters: disable: - typecheck disable-all: false presets: - bugs - unused
The text was updated successfully, but these errors were encountered:
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.
Sorry, something went wrong.
typecheck is not a real linter and cannot be disabled. Suggestion to improve documentation in #3460
typecheck
No branches or pull requests
Welcome
Description of the problem
When using
presets
,disable
doesn't work.As a workaround, it's possible to use
exclude-rules
, but that's probably less efficient since I'd guess the linters still run:Version of golangci-lint
Configuration file
Go environment
Verbose output of running
Code example or link to a public repository
The text was updated successfully, but these errors were encountered: