diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e917f47..8f5e197 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,8 +10,6 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: - # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.30 # Optional: golangci-lint command line arguments. args: --issues-exit-code=0 # Optional: working directory, useful for monorepos diff --git a/.golangci.yml b/.golangci.yml index d4530e4..85cfb6d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,6 +2,13 @@ run: tests: false issues: + include: + - EXC0001 + - EXC0005 + - EXC0011 + - EXC0012 + - EXC0013 + max-issues-per-linter: 0 max-same-issues: 0 @@ -14,12 +21,12 @@ linters: - godot - godox - goimports - - golint - - gomnd - goprintffuncname - gosec + - ifshort - misspell - prealloc + - revive - rowserrcheck - sqlclosecheck - unconvert