Created
September 13, 2021 21:11
-
-
Save binaryphile/a09edc63cf2c59fec8a4f4d0404cc703 to your computer and use it in GitHub Desktop.
tell linter not to lint old files
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
linters-settings: | |
errcheck: | |
check-type-assertions: true | |
goconst: | |
min-len: 2 | |
min-occurrences: 3 | |
gocritic: | |
enabled-tags: | |
- diagnostic | |
- experimental | |
- opinionated | |
- performance | |
- style | |
govet: | |
check-shadowing: true | |
nolintlint: | |
require-explanation: true | |
require-specific: true | |
linters: | |
disable-all: true | |
enable: | |
- bodyclose | |
- deadcode | |
- depguard | |
- dogsled | |
- dupl | |
- errcheck | |
- exportloopref | |
- exhaustive | |
- goconst | |
- gocritic | |
- gofmt | |
- goimports | |
- gomnd | |
- gocyclo | |
- gosec | |
- gosimple | |
- govet | |
- ineffassign | |
- misspell | |
- nolintlint | |
- nakedret | |
- prealloc | |
- predeclared | |
- revive | |
- staticcheck | |
- structcheck | |
- stylecheck | |
- thelper | |
- tparallel | |
- typecheck | |
- unconvert | |
- unparam | |
- varcheck | |
- whitespace | |
- wsl | |
run: | |
issues-exit-code: 1 | |
issues: | |
new: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment