diff --git a/.gitignore b/.gitignore index b89cc42..7d5e16e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ .idea/ # Binaries -/gitea-vet* \ No newline at end of file +/govet* + +dist diff --git a/Makefile b/Makefile index 96e415c..ab42aba 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ GO ?= go -VERSION := v0.1.0 -RELEASE_NOTE := "Init" +VERSION := v0.1.1 +RELEASE_NOTE := "Empty denied imports" git-tag: git tag -a $(VERSION) -m $(RELEASE_NOTE) diff --git a/checks/denylisted-imports.go b/checks/denylisted-imports.go index 6a0cf58..fd37e35 100644 --- a/checks/denylisted-imports.go +++ b/checks/denylisted-imports.go @@ -11,7 +11,7 @@ import ( ) var ( - deniedImports = []string{"io/ioutil", "encoding/json"} + deniedImports = []string{} // "io/ioutil", "encoding/json" DenylistImports = &analysis.Analyzer{ Name: "denylist_imports", Doc: "check for denied imports",