Browse Source
Add Dogsled to linting (#4025)
* add dogsled
* add back comments
v0.31.9-changelog
Marko
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
.golangci.yml
|
|
@ -6,9 +6,7 @@ linters: |
|
|
|
disable: |
|
|
|
- gocyclo |
|
|
|
- golint |
|
|
|
- maligned |
|
|
|
- errcheck |
|
|
|
- interfacer |
|
|
|
- unparam |
|
|
|
- lll |
|
|
|
- gochecknoglobals |
|
|
@ -16,9 +14,11 @@ linters: |
|
|
|
- stylecheck |
|
|
|
- funlen |
|
|
|
- godox |
|
|
|
- dogsled |
|
|
|
- whitespace |
|
|
|
# linters-settings: |
|
|
|
|
|
|
|
linters-settings: |
|
|
|
dogsled: |
|
|
|
max-blank-identifiers: 3 |
|
|
|
# govet: |
|
|
|
# check-shadowing: true |
|
|
|
# golint: |
|
|
|