Configure golangci-lint to skip some linters in test files #72
Labels
build
Related to CI pipeline
good first issue
Good for newcomers
hacktoberfest
Contributions as a part of Hacktoberfest are welcome!
help wanted
Extra attention is needed
Right now, there is a bunch of
// nolint:funlen
or// nolint:bodyclose
comments in various tests. These comments tell golangci-lint to exclude the marked tests from linter reports.Instead of marking each test file separately, there is a configuration of golangci-lint that we can set once in
.golangci-lint.yaml
. This configuration should apply to all test files.Linters that should be disabled for test files:
The text was updated successfully, but these errors were encountered: