Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kmulvey committed Oct 15, 2022
1 parent 91aef80 commit f2c09fb
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Options for analysis running.
run:
concurrency: 2
timeout: 10m
tests: true
modules-download-mode: readonly
go: '1.19'
linters:
#disable-all: false
#enable-all: true
enable:
- bidichk
- bodyclose
- containedctx
#- cyclop
#- dupl
- exportloopref
- gocritic
- goconst
#- gosec
- misspell
- nilerr
- paralleltest
- prealloc
- unparam
- usestdlibvars
- wastedassign
linters-settings:
govet:
# Report about shadowed variables.
# Default: false
check-shadowing: false
# Settings per analyzer.
settings:
# Analyzer name, run `go tool vet help` to see all analyzers.
disable-all: false
enable-all: true
disable:
- shadow

0 comments on commit f2c09fb

Please sign in to comment.