diff --git a/.golangci.yml b/.golangci.yml index 4a3fec6e..64339007 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -31,6 +31,12 @@ linters-settings: statements: 60 # default 40 gocognit: min-complexity: 40 # default 30 + importas: + no-unaliased: true + no-extra-aliases: false + alias: + pkg: git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object + alias: objectSDK linters: enable: @@ -62,5 +68,6 @@ linters: - funlen - gocognit - contextcheck + - importas disable-all: true fast: false