mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
build: adjust lint rules to exclude new errors from linter update
This commit is contained in:
@@ -17,6 +17,14 @@ linters:
|
|||||||
#- prealloc # TODO
|
#- prealloc # TODO
|
||||||
- revive
|
- revive
|
||||||
- unconvert
|
- unconvert
|
||||||
|
exclusions:
|
||||||
|
rules:
|
||||||
|
- linters:
|
||||||
|
- revive
|
||||||
|
text: 'var-naming: avoid meaningless package names'
|
||||||
|
- linters:
|
||||||
|
- revive
|
||||||
|
text: 'var-naming: avoid package names that conflict with Go standard library package names'
|
||||||
# Configure checks. Mostly using defaults but with some commented exceptions.
|
# Configure checks. Mostly using defaults but with some commented exceptions.
|
||||||
settings:
|
settings:
|
||||||
govet:
|
govet:
|
||||||
@@ -136,6 +144,7 @@ linters:
|
|||||||
- name: var-naming
|
- name: var-naming
|
||||||
disabled: false
|
disabled: false
|
||||||
|
|
||||||
|
|
||||||
formatters:
|
formatters:
|
||||||
enable:
|
enable:
|
||||||
- goimports
|
- goimports
|
||||||
|
|||||||
Reference in New Issue
Block a user