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
|
.idea
|
||||||
*.swp
|
*.swp
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
|
/example/
|
|
@ -36,10 +36,6 @@ linters-settings:
|
||||||
gofmt:
|
gofmt:
|
||||||
# simplify code: gofmt with `-s` option, true by default
|
# simplify code: gofmt with `-s` option, true by default
|
||||||
simplify: true
|
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:
|
stylecheck:
|
||||||
# https://staticcheck.io/docs/options#checks
|
# https://staticcheck.io/docs/options#checks
|
||||||
checks: ["all", "-ST1018"]
|
checks: ["all", "-ST1018"]
|
||||||
|
@ -56,7 +52,6 @@ linters:
|
||||||
enable:
|
enable:
|
||||||
- errcheck
|
- errcheck
|
||||||
- gofmt
|
- gofmt
|
||||||
- goimports
|
|
||||||
- stylecheck
|
- stylecheck
|
||||||
- gosimple
|
- gosimple
|
||||||
- govet
|
- govet
|
||||||
|
|
Loading…
Reference in a new issue