Closed sylwang closed 1 year ago
.golangci.yml
cyclops
depguard
varnamelen
funlen
gocognit
t.Log()
forbidigo
io/ioutil
utf8.DecodeRuneInString
utf8.DecodeRuneIn
mirror
=0
var
revive
nolintlint
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
README.md
Once this is merged, will reopen this PR for fixing the config file parsing logic.
Proposed changes
.golangci.yml
to suppresscyclops
,depguard
andvarnamelen
lintersfunlen
andgocognit
to avoid huge logic changet.Log()
for logging errors in testing to fix theforbidigo
linterio/ioutil
utf8.DecodeRuneInString
instead ofutf8.DecodeRuneIn
for themirror
linter=0
forvar
declaration to fix therevive
linternolintlint
Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
documentREADME.md
)