Enable fieldalignment

This commit is contained in:
Panagiotis Georgiadis 2021-03-24 16:01:54 +01:00
parent 841a3a34bc
commit 4af41209e7
No known key found for this signature in database
GPG Key ID: A5B9AF563B15B24F
1 changed files with 4 additions and 3 deletions

View File

@ -23,11 +23,12 @@ linters-settings:
golint:
min-confidence: 0.8
govet:
enable:
- fieldalignment
check-shadowing: true
lll:
line-length: 140
maligned:
suggest-new: true
misspell:
locale: US
@ -58,7 +59,6 @@ linters:
- govet
- ineffassign
- lll
- fieldalignment
- misspell
- nakedret
- prealloc
@ -90,5 +90,6 @@ issues:
# Disable 'funlen' linter for test functions.
# It's common for table-driven tests to be more than 60 characters long
source: "^func Test"
max-issues-per-linter: 0
max-same-issues: 0
exclude-use-default: false