Fix golangci-lint v2.5.0 config format (bd-91)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
version: 2
|
version: "2"
|
||||||
|
|
||||||
run:
|
run:
|
||||||
timeout: 5m
|
timeout: 5m
|
||||||
@@ -14,8 +14,7 @@ linters:
|
|||||||
- revive
|
- revive
|
||||||
- unconvert
|
- unconvert
|
||||||
- unparam
|
- unparam
|
||||||
|
settings:
|
||||||
linters-settings:
|
|
||||||
dupl:
|
dupl:
|
||||||
threshold: 100
|
threshold: 100
|
||||||
errcheck:
|
errcheck:
|
||||||
@@ -36,11 +35,8 @@ linters-settings:
|
|||||||
rules:
|
rules:
|
||||||
- name: var-naming
|
- name: var-naming
|
||||||
- name: exported
|
- name: exported
|
||||||
|
exclusions:
|
||||||
issues:
|
rules:
|
||||||
max-issues-per-linter: 0
|
|
||||||
max-same-issues: 0
|
|
||||||
exclude-rules:
|
|
||||||
- path: _test\.go
|
- path: _test\.go
|
||||||
linters:
|
linters:
|
||||||
- dupl
|
- dupl
|
||||||
|
|||||||
Reference in New Issue
Block a user