-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
area: CLIRelated to CLIRelated to CLIarea: configRelated to .golangci.yml and/or cli optionsRelated to .golangci.yml and/or cli optionsenhancementNew feature or improvementNew feature or improvement
Description
- Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
- Yes, I've searched similar issues on GitHub and didn't find any.
- Yes, I've included all information below (version, config, etc).
- Yes, I've tried with the standalone linter if available. (https://golangci-lint.run/usage/linters/)
Description of the problem
It seems that the flag --fast kind of doesn´t overwrite the lining configuration that lives in the configuration file. At the same time, I would like to keep the file configurations, but at the same time, IMHO the flag --fast should have priority over the configuration file.
Version of golangci-lint
$ golangci-lint --version
# golangci-lint has version 1.39.0 built from 9aea4aee on 2021-03-26T08:02:53ZConfig file
$ cat .golangci.yml
You can try to use the one that is running on this own repository.Go environment
$ go version && go env
# paste output hereVerbose output of running
$ golangci-lint cache clean
$ golangci-lint run -v
# paste output hereCode example or link to a public repository
// add your code herebarklan and ian-h-chamberlain
Metadata
Metadata
Assignees
Labels
area: CLIRelated to CLIRelated to CLIarea: configRelated to .golangci.yml and/or cli optionsRelated to .golangci.yml and/or cli optionsenhancementNew feature or improvementNew feature or improvement