Skip to content

Linter in CI provides lots of issues but local and docker version show no issues #4879

Answered by ldez
renta asked this question in Q&A
Discussion options

You must be logged in to vote

can you run golangci-lint cache clean and re-run the command?

In all cases, the issues excluded by invalid_issues are related to:

  • issues not related to Go files
  • issues without a file path

All those problems are related to the same thing as typecheck, so you must fix your mocks.

Replies: 1 comment 17 replies

Comment options

You must be logged in to vote
17 replies
@ldez
Comment options

ldez Jul 24, 2024
Maintainer

@ldez
Comment options

ldez Jul 24, 2024
Maintainer

@renta
Comment options

@ldez
Comment options

ldez Jul 24, 2024
Maintainer

Answer selected by ldez
@renta
Comment options

@ldez
Comment options

ldez Jul 24, 2024
Maintainer

@renta
Comment options

@ldez
Comment options

ldez Jul 24, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants