1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-06-30 23:23:40 +02:00

Add lint to CI

It is necessary to remember not to bring the code to a state complying
with the rules.
This commit is contained in:
Vasiliy Vasilyuk
2023-07-10 23:05:51 +03:00
parent f5f4e2ce8c
commit cfe9add3d7
3 changed files with 29 additions and 15 deletions

14
.golangci.yml Normal file
View File

@ -0,0 +1,14 @@
linters:
disable-all: true
enable:
- errcheck
- godot
- goimports
- gosimple
- govet
- ineffassign
- misspell
- staticcheck
- typecheck
- unused
- whitespace