"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
build: enable gocritic linter
albertony705c72d2939a
diff --git a/.golangci.yml b/.golangci.ymlindex 0d61df700..f4092493a 100644--- a/.golangci.yml+++ b/.golangci.yml@@ -13,6 +13,7 @@ linters:- stylecheck- unused- misspell+ - gocritic#- prealloc#- maligneddisable-all: true@@ -98,3 +99,11 @@ linters-settings:# Only enable the checks performed by the staticcheck stand-alone tool,# as documented here: https://staticcheck.io/docs/configuration/options/#checkschecks: ["all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022", "-ST1023"]+ gocritic:+ disabled-checks:+ - appendAssign+ - captLocal+ - commentFormatting+ - exitAfterDefer+ - ifElseChain+ - singleCaseSwitch