Initial commit

This commit is contained in:
Ian Gulliver
2023-04-20 18:29:49 +00:00
parent ab2bdbd06e
commit 6d46cf96fe
8 changed files with 396 additions and 0 deletions

38
.golangci.yaml Normal file
View File

@@ -0,0 +1,38 @@
linters:
enable-all: true
disable:
# re-enable when working
- rowserrcheck
- wastedassign
# maybe enable these
- wrapcheck
# leave these disabled
- cyclop
- deadcode
- dupl
- exhaustivestruct
- exhaustruct
- forbidigo
- forcetypeassert
- funlen
- gochecknoglobals
- gocognit
- goconst
- godox
- golint
- gomnd
- ifshort
- interfacer
- lll
- maintidx
- maligned
- nilnil
- nestif
- nlreturn
- nolintlint
- nosnakecase
- scopelint
- structcheck
- thelper
- varcheck
- varnamelen