mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-09 18:17:07 -05:00
Enable fieldalignment
This commit is contained in:
parent
841a3a34bc
commit
4af41209e7
@ -23,11 +23,12 @@ linters-settings:
|
|||||||
golint:
|
golint:
|
||||||
min-confidence: 0.8
|
min-confidence: 0.8
|
||||||
govet:
|
govet:
|
||||||
|
enable:
|
||||||
|
- fieldalignment
|
||||||
check-shadowing: true
|
check-shadowing: true
|
||||||
|
|
||||||
lll:
|
lll:
|
||||||
line-length: 140
|
line-length: 140
|
||||||
maligned:
|
|
||||||
suggest-new: true
|
|
||||||
misspell:
|
misspell:
|
||||||
locale: US
|
locale: US
|
||||||
|
|
||||||
@ -58,7 +59,6 @@ linters:
|
|||||||
- govet
|
- govet
|
||||||
- ineffassign
|
- ineffassign
|
||||||
- lll
|
- lll
|
||||||
- fieldalignment
|
|
||||||
- misspell
|
- misspell
|
||||||
- nakedret
|
- nakedret
|
||||||
- prealloc
|
- prealloc
|
||||||
@ -90,5 +90,6 @@ issues:
|
|||||||
# Disable 'funlen' linter for test functions.
|
# Disable 'funlen' linter for test functions.
|
||||||
# It's common for table-driven tests to be more than 60 characters long
|
# It's common for table-driven tests to be more than 60 characters long
|
||||||
source: "^func Test"
|
source: "^func Test"
|
||||||
|
max-issues-per-linter: 0
|
||||||
max-same-issues: 0
|
max-same-issues: 0
|
||||||
exclude-use-default: false
|
exclude-use-default: false
|
||||||
|
Loading…
Reference in New Issue
Block a user