Created
January 8, 2022 07:00
-
-
Save muesli/9b6a5fb4e267449ef65b50dbf5a387bf to your computer and use it in GitHub Desktop.
Extensive golangci-lint config
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
run: | |
tests: false | |
issues: | |
include: | |
- EXC0001 | |
- EXC0005 | |
- EXC0011 | |
- EXC0012 | |
- EXC0013 | |
max-issues-per-linter: 0 | |
max-same-issues: 0 | |
linters: | |
enable: | |
- bodyclose | |
- dupl | |
- exhaustive | |
- exportloopref | |
- goconst | |
- godot | |
- godox | |
- goimports | |
- gomnd | |
- gomoddirectives | |
- goprintffuncname | |
- gosec | |
- ifshort | |
- misspell | |
- nakedret | |
- nestif | |
- nilerr | |
- noctx | |
- nolintlint | |
- prealloc | |
- predeclared | |
- revive | |
- rowserrcheck | |
- sqlclosecheck | |
- tparallel | |
- unconvert | |
- unparam | |
- whitespace | |
- wrapcheck |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment