forked from ContentSquare/chproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
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
2 changed files
with
73 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,64 @@ | ||
run: | ||
timeout: 3m | ||
tests: false | ||
|
||
linters: | ||
enable: | ||
- asciicheck | ||
- bodyclose | ||
- depguard | ||
- dogsled | ||
- dupl | ||
- durationcheck | ||
- errname | ||
- errorlint | ||
- exhaustive | ||
- exportloopref | ||
- forcetypeassert | ||
- gochecknoinits | ||
- goconst | ||
- gocritic | ||
- gocyclo | ||
- gofmt | ||
- gofumpt | ||
- goheader | ||
- goimports | ||
- gomoddirectives | ||
- gomodguard | ||
- goprintffuncname | ||
- gosec | ||
- govet | ||
- ifshort | ||
- importas | ||
- makezero | ||
- megacheck | ||
- misspell | ||
- nakedret | ||
- nilerr | ||
- predeclared | ||
- promlinter | ||
- rowserrcheck | ||
- sqlclosecheck | ||
- testpackage | ||
- thelper | ||
- tparallel | ||
- unconvert | ||
- unparam | ||
- wastedassign | ||
- whitespace | ||
disable: | ||
# Should be readded in the future with a dedicated PR to do the fix | ||
- cyclop | ||
- funlen | ||
- gocognit | ||
- nolintlint | ||
- revive | ||
- stylecheck | ||
- nestif | ||
|
||
# Disabled with a reason | ||
- gochecknoglobals # incompatible with the way we define our flags currently | ||
- maligned # checker not supported anymore | ||
- noctx # disabled because we do not plan to distribute this code as a library | ||
- prealloc # we are not after some perf | ||
- tagliatelle # disabled because we are dependant on external API that do not follow the right naming |
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