Skip to content

Commit

Permalink
Configure golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilturek committed Aug 15, 2022
1 parent 377fd76 commit f2c35b4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
run:
go: '1.18'
linters:
enable-all: true
disable:
# unwanted
- exhaustruct
- gomnd
- varnamelen

# generics
- contextcheck
- rowserrcheck
- structcheck
- sqlclosecheck
- wastedassign

# deprecated
- exhaustivestruct
- ifshort
- interfacer
- maligned
- golint
- scopelint

0 comments on commit f2c35b4

Please sign in to comment.