[#496] .golangci.yml: Add importas linter
Add importas linter Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
6eefe9747e
commit
4bbe9cc936
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue