Closed
Description
Welcome
- Yes, I'm using a binary release within 2 latest releases. Only such installations are supported.
- Yes, I've searched similar issues on GitHub and didn't find any.
- Yes, I've read the
typecheck
section of the FAQ. - Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.).
- I agree to follow this project's Code of Conduct
Description of the problem
I want to enable ST1020 and ST1021 in staticcheck or stylecheck settings.
However, those settings cannot be activated.
It is a valid setting if it is from staticheck's CLI.
staiticcheck ./...
- staticcheck.conf
checks = ["all", "-ST1000"]
Version of golangci-lint
$ golangci-lint --version
golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c56 on 2024-09-09T14:33:19Z
Configuration
linters-settings:
staticcheck:
checks: ["all", "-ST1000"]
stylecheck:
checks: ["all", "-ST1000"]
Go environment
Go1.23.1
Verbose output of running
not relevant
A minimal reproducible example or link to a public repository
not relevant
Validation
- Yes, I've included all information above (version, config, etc.).
Supporter
- I am a sponsor/backer through GitHub or OpenCollective