-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make private linters support parameters #1512
Comments
Are there any updates? |
@dshemin Actually I made a workaround, port golangci-lint code and integrate the custom linter into it directly |
Yes, this is an option. But I think will be better to have an ability to set up custom linters through configuration file without integrated them into golangci-lint. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still relevant. |
I created a PR on this topics: #3887 Feedback is welcome. |
Is your feature request related to a problem? Please describe.
I'm working on a custom private linter which checks that if
main.go
has some specific imports from our company's code base. It would be nice if I can config the imports names in settings like other public linters. Now I have to hard code.Describe the solution you'd like
The config file may look like this (part of it):
The text was updated successfully, but these errors were encountered: