Disable goimports
This commit is contained in:
parent
27dc946c43
commit
9e2fbf54f1
2 changed files with 2 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
|||
.idea
|
||||
*.swp
|
||||
.vscode/
|
||||
|
||||
/example/
|
|
@ -36,10 +36,6 @@ linters-settings:
|
|||
gofmt:
|
||||
# simplify code: gofmt with `-s` option, true by default
|
||||
simplify: true
|
||||
goimports:
|
||||
# put imports beginning with prefix after 3rd-party packages;
|
||||
# it's a comma-separated list of prefixes
|
||||
local-prefixes: gitlab.com/slon/shad-go
|
||||
stylecheck:
|
||||
# https://staticcheck.io/docs/options#checks
|
||||
checks: ["all", "-ST1018"]
|
||||
|
@ -56,7 +52,6 @@ linters:
|
|||
enable:
|
||||
- errcheck
|
||||
- gofmt
|
||||
- goimports
|
||||
- stylecheck
|
||||
- gosimple
|
||||
- govet
|
||||
|
|
Loading…
Reference in a new issue