Skip to content

Commit

Permalink
lint: add golangci config
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicbarnes committed Sep 16, 2024
1 parent 4ce2086 commit 9c692c7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
linters:
enable-all: true
disable:
- depguard
- err113
- exhaustruct
- funlen
- gochecknoglobals
- gochecknoinits
- godox
- gofumpt
- gomnd
- inamedparam
- ireturn
- maintidx
- mnd
- nestif
- nilnil
- nlreturn
- paralleltest
- revive
- testpackage
- tparallel
- varnamelen
- wrapcheck
- wsl

linters-settings:
gosec:
excludes:
# 0644 permissions on created files seem reasonable for this use-case
- G306

0 comments on commit 9c692c7

Please sign in to comment.