Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

build: adjust lint rules to exclude new errors from linter update

Nick Craig-Wood0dc0ab133025
diff --git a/.golangci.yml b/.golangci.yml
index ae9bbb24c..5f33d6183 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -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