Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@L-P
Last active May 27, 2023 03:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save L-P/12abde68f59d1bbd106deabb53c3cc07 to your computer and use it in GitHub Desktop.
Save L-P/12abde68f59d1bbd106deabb53c3cc07 to your computer and use it in GitHub Desktop.
---
run:
timeout: 5m
linters:
presets:
- bugs
- unused
enable:
- containedctx
- dogsled
- dupl
- dupword
- funlen
- gocognit
- godot
- gofmt
- goimports
- gosimple
- goprintffuncname
- grouper
- importas
- interfacebloat
- lll
- misspell
- nilnil
- nolintlint
- nosprintfhostport
- prealloc
- predeclared
- promlinter
- reassign
- tenv
- testpackage
- unconvert
- usestdlibvars
- wastedassign
disable:
- musttag
linter-settigns:
staticcheck:
checks: ["all"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment