From 9e2fbf54f1be4a013ff20366ec9226812db200d1 Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Sun, 5 Mar 2023 19:34:19 +0400 Subject: [PATCH] Disable goimports --- .gitignore | 2 ++ .golangci.yml | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c32f657..44b9eef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .idea *.swp .vscode/ + +/example/ \ No newline at end of file diff --git a/.golangci.yml b/.golangci.yml index ec74ecf..4b17a0c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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