diff --git a/posts/2023-07-01-pastebin.md b/posts/2023-07-01-pastebin.md index 1f898ce..5335aed 100644 --- a/posts/2023-07-01-pastebin.md +++ b/posts/2023-07-01-pastebin.md @@ -112,14 +112,6 @@ jobs: run: timeout: 5m tests: false - skip-dirs: - - ".*test.*" - - ".*mock.*" - - ".*example.*" - - ".*utils.*" - skip-files: - - ".*Mock.*" - - ".*_mock.*" output: sort-results: true @@ -136,13 +128,12 @@ linters: - typecheck - unused # Custom + - err113 - errchkjson - errname - errorlint - - execinquery - forcetypeassert - gocritic - - goerr113 - gofumpt - gosec - importas @@ -151,10 +142,8 @@ linters: - noctx - prealloc - reassign - # - rowserrcheck - sqlclosecheck - unconvert - # - wastedassign fast: true linters-settings: @@ -194,6 +183,7 @@ linters-settings: excludes: - G101 - G112 + - G115 - G402 - G404 - G501 @@ -202,6 +192,16 @@ linters-settings: reassign: patterns: - ".*" + +issues: + exclude-dirs: + - ".*test.*" + - ".*mock.*" + - ".*example.*" + - ".*utils.*" + exclude-files: + - ".*Mock.*" + - ".*_mock.*" ``` `.goreleaser.yml`: