Disable fieldalignment

This commit is contained in:
Panagiotis Georgiadis 2021-03-25 00:51:10 +01:00
parent f7d974f2a2
commit e9031d97bd
No known key found for this signature in database
GPG Key ID: A5B9AF563B15B24F
1 changed files with 8 additions and 3 deletions

View File

@ -18,15 +18,20 @@ linters-settings:
disabled-checks:
gocyclo:
min-complexity: 15
gofmt:
simplify: true
goimports:
local-prefixes: github.com/OpenDiablo2/OpenDiablo2
golint:
min-confidence: 0.8
govet:
enable:
- fieldalignment
enable-all: true
check-shadowing: true
disable:
# While struct sizes could be smaller if fields aligned properly, that also leads
# to possibly non-intuitive layout of struct fields (harder to read). Disable
# `fieldalignment` check here until we evaluate if it is worthwhile.
- fieldalignment
lll:
line-length: 140
misspell: