Skip to content

feat: Export a few config functions for golangci-lint#1753

Open
alexandear wants to merge 3 commits into
mgechev:masterfrom
alexandear:feat/expose-funcs
Open

feat: Export a few config functions for golangci-lint#1753
alexandear wants to merge 3 commits into
mgechev:masterfrom
alexandear:feat/expose-funcs

Conversation

@alexandear

Copy link
Copy Markdown
Collaborator

Golangci-lint integrates Revive by copy-pasting several of Revive's unexported functions and variables (see pkg/golinters/revive/revive.go). That duplication is a recurring maintenance burden and a silent source of drift.

With this merged, Golangci-lint can drop its copied Revive internals and call the exported functions directly.

This comment was marked as resolved.

@alexandear

Copy link
Copy Markdown
Collaborator Author

@ldez please review when you have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants