Goland is unable to properly apply simple golangci-lint file
Hello.
The "Problems" panel shows no linting errors while running golangci-lint run --max-issues-per-linter 100000 ./... on the command line does return linting errors.
Here is what linters Goland enables reading the config file I've shared below:

Here is the simple golangci-lint file I have:
version: "2"
linters:
settings:
revive:
severity: warning
rules:
- name: exported
disabled: true
- name: var-naming
disabled: true
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
paths:
- third_party$
- builtin$
- examples$
formatters:
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$
The result is that I can't integrate the CI/CD pipeline with the Goland IDE which is a major problem. Can anyone please give a hint on how to integrate properly golangci-lint with Goland using the config above and the golangci-lint binary 2.4.0?
Please sign in to leave a comment.
Hi there!
Thank you for your report. I can see you raised a similar question previously and it looks like the problem still persists. May I ask you to send os some additional infromation so we could test this on our end? Do you have a project we can use for testing that you can share with us? I'd also kindly ask you to provide some screenshots or a video to illustrate the differences in output that depend on how you run the linter - it'll help us understand if this is expected, or if there's some issue indeed.