Closed taniguchi-yoshiki11 closed 1 month ago
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.
Hello,
Those rules are disabled by default, you must disable default exclusions.
https://golangci-lint.run/usage/false-positives/#default-exclusions
linters-settings:
staticcheck:
checks: ["all", "-ST1000"]
stylecheck:
checks: ["all", "-ST1000"]
issues:
exclude-use-default: false
Welcome
typecheck
section of the FAQ.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 ./...
Version of golangci-lint
Configuration
Go environment
Go1.23.1
Verbose output of running
not relevant
A minimal reproducible example or link to a public repository
not relevant
Validation
Supporter