From 9848a4f3bca68daa067cc7c7b2d3a6d029050674 Mon Sep 17 00:00:00 2001 From: H1rono <hronok66@gmail.com> Date: Tue, 23 Jul 2024 16:50:26 +0900 Subject: [PATCH] :wrench: Update golangci-lint configuration --- .golangci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 1e466e7b..935e6ffe 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -10,3 +10,37 @@ linters: - unused # https://golangci-lint.run/usage/linters/#disabled-by-default - gofmt + - asasalint + - asciicheck + - contextcheck + - dogsled + - durationcheck + - errchkjson + - errname + - errorlint + - exhaustive + - fatcontext + - forbidigo + - forcetypeassert + - gocheckcompilerdirectives + - importas + - inamedparam + - intrange + - ireturn + - lll + - loggercheck + - makezero + - mirror + - musttag + - nilnil + - predeclared + - reassign + - thelper + - unconvert + - usestdlibvars + - wastedassign + - whitespace +linters-settings: + lll: + line-length: 100 + tab-width: 4