-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# This configuration file is not a recommendation. | ||
# | ||
# We intentionally use a limited set of linters. | ||
# This configuration file is used with different version of golangci-lint to avoid regressions: | ||
# the linters can change between version, | ||
# their configuration may be not compatible or their reports can be different, | ||
# and this can break some of our tests. | ||
# Also, some linters are not relevant for the project (e.g. linters related to SQL). | ||
# | ||
# We have specific constraints, so we use a specific configuration. | ||
# | ||
# See the file `.golangci.reference.yml` to have a list of all available configuration options. | ||
|
||
linters: | ||
disable-all: true | ||
# This list of linters is not a recommendation (same thing for all this configuration file). | ||
# We intentionally use a limited set of linters. | ||
# See the comment on top of this file. | ||
enable: | ||
- bodyclose | ||
- copyloopvar | ||
- depguard | ||
- dogsled | ||
- errcheck | ||
- errorlint | ||
- funlen | ||
- gocheckcompilerdirectives | ||
- gochecknoinits | ||
- gochecknoinits | ||
- goconst | ||
- gocritic | ||
- gocyclo | ||
- godox | ||
- gofmt | ||
- goimports | ||
- mnd | ||
- goprintffuncname | ||
- gosec | ||
- gosimple | ||
- govet | ||
- intrange | ||
- ineffassign | ||
- lll | ||
- misspell | ||
- nakedret | ||
- noctx | ||
- nolintlint | ||
- revive | ||
- staticcheck | ||
- stylecheck | ||
- testifylint | ||
- unconvert | ||
- unparam | ||
- unused | ||
- whitespace | ||
|
||
|
||
|
||
run: | ||
timeout: 5m |