chore(lint): add golangci-lint configuration file

Signed-off-by: Mert Şişmanoğlu <mertssmnoglu@gmail.com>
This commit is contained in:
Mert Şişmanoğlu 2025-08-10 22:16:30 +03:00
parent a9b65f96f2
commit 137980d25f
No known key found for this signature in database
GPG Key ID: 5179661D5F9E1913
1 changed files with 28 additions and 0 deletions

28
.golangci.yml Normal file
View File

@ -0,0 +1,28 @@
run:
timeout: 1m
linters:
disable-all: true
enable:
- asciicheck
- bodyclose
- dogsled
- errcheck
- errorlint
- exhaustive
- gocyclo
- goimports
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- prealloc
- revive
- staticcheck
- stylecheck
- unconvert
- unused
- whitespace