Skip to content
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

Revert "Add filen linter (#5081)" #5087

Merged
merged 1 commit into from
Oct 27, 2024
Merged

Conversation

ldez
Copy link
Member

@ldez ldez commented Oct 26, 2024

As the PR mgechev/revive#1072 has been merged into revive, and as filen is not in a released version of golangci-lint, we should remove this linter because it becomes a duplicate linter.

If we don't remove it now, we will deprecate it after the release, so it's better to remove it now.

@DanilXO I'm sorry, it was unexpected to me that, after 2 years without a real reaction to the discussion, someone created a PR to add this rule to revive.

I'm not really happy that someone uses your linter and your PR as references to create a rule inside revive. Communication should be a priority and it should be improved.
But anyway, what is done is done.

Related to #5081

This reverts commit 29c5529.

@ldez ldez added enhancement New feature or improvement linter: update Update the linter implementation inside golangci-lint labels Oct 26, 2024
@ldez ldez added this to the next milestone Oct 26, 2024
@ldez ldez requested review from alexandear and bombsimon October 26, 2024 21:12
Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ccoVeille
Copy link
Contributor

ccoVeille commented Oct 27, 2024

The fact the revive PR would lead to duplicate rules is the reason why I posted my comment.

#2881 (reply in thread)

I agree with your decision

@ldez ldez merged commit 8a9d16e into golangci:master Oct 27, 2024
15 checks passed
@ldez ldez deleted the feat/revert-filen branch October 27, 2024 09:19
@DanilXO
Copy link
Contributor

DanilXO commented Oct 27, 2024

The main thing is that the need for file size limitation is closed. It's okay that PR was reverted, the experience of creating a linter was interesting and curious for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement linter: update Update the linter implementation inside golangci-lint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants