Skip to content

Commit

Permalink
chore: Add golangci-lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ditsuke committed Nov 22, 2022
1 parent a4c3118 commit 1d777a1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
run:
go: "1.18"
skip-dirs-use-default: true
skip-dirs:
- "server/gen"
tests: true

issues:
exclude-use-default: true
exclude-case-sensitive: false
max-issues-per-linter: 50
max-same-issues: 3
new: false

linters:
enable-all: false
disable-all: false
fast: false
enable:
- goimports
- unused
- durationcheck

0 comments on commit 1d777a1

Please sign in to comment.