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
|
#- 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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue