mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-02 14:46:28 -05:00
Enable fieldalignment
This commit is contained in:
parent
841a3a34bc
commit
4af41209e7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user