Add code linting to build #13

Merged
jacob1123 merged 57 commits from linting into master 2022-02-20 23:53:48 +01:00
Showing only changes of commit 835a15ec08 - Show all commits

8
.golangci.yml Normal file
View File

@ -0,0 +1,8 @@
linters-settings:
errcheck:
exclude-functions:
- io/ioutil.ReadFile
- io.Copy(*bytes.Buffer)
- (*github.com/gin-gonic/gin.Context).AbortWithError
- (*github.com/gin-gonic/gin.Context).AbortWithError
- io.Copy(os.Stdout)