mirror of https://github.com/rclone/rclone
build: adjust lint rules to exclude new errors from linter update
This commit is contained in:
parent
a6bbdb35a0
commit
0dc0ab1330
|
|
@ -17,6 +17,14 @@ linters:
|
|||
#- prealloc # TODO
|
||||
- revive
|
||||
- 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.
|
||||
settings:
|
||||
govet:
|
||||
|
|
@ -136,6 +144,7 @@ linters:
|
|||
- name: var-naming
|
||||
disabled: false
|
||||
|
||||
|
||||
formatters:
|
||||
enable:
|
||||
- goimports
|
||||
|
|
|
|||
Loading…
Reference in New Issue