-
Good evening, I'm trying to create a custom linter for my application. But I can't add them to I build my linter using command: added in custom:
example:
path: /Users/username/dev/go-lint/pkg/golinters/main.so
description: The description of the linter
original-url: github.com/REDACTED/go-lint and build I also tried to compile just the example plugin, and it also shows the same error:
|
Beta Was this translation helpful? Give feedback.
Answered by
ldez
Feb 5, 2024
Replies: 1 comment 4 replies
-
This means that you are not using the same Go and/or the dependencies to build golangci-lint and your plugin. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@hobbitx, the plugins of golangci-lint are based on Go plugin.
The Go plugin has restrictions.