Skip to content

build: relax linter config for maintenance mode in release/0.12#1829

Closed
hsmatulis wants to merge 1 commit intorelease/0.12from
hsmatulis-lint-maint-12
Closed

build: relax linter config for maintenance mode in release/0.12#1829
hsmatulis wants to merge 1 commit intorelease/0.12from
hsmatulis-lint-maint-12

Conversation

@hsmatulis
Copy link
Contributor

Switch golangci-lint from enable-all: true strategy to an allowlist one. The release/0.12 branch is strictly for dependency updates & vulnerability fixes.

The previous configuration caused unrelated build failures whenever golangci-lint added new linters (e.g., usetesting) or updated style rules (e.g., revive).

@hsmatulis hsmatulis changed the title build(lint): relax linter config for maintenance mode build(lint): relax linter config for maintenance mode in release/0.12 Dec 12, 2025
Switch golangci-lint from `enable-all: true` strategy to
an allowlist. The release/0.12 branch is strictly for dependency updates & vulnerability fixes.

The previous configuration caused unrelated build failures whenever
golangci-lint added new linters (e.g., `usetesting`) or updated style
rules (e.g., `revive`).
@hsmatulis hsmatulis force-pushed the hsmatulis-lint-maint-12 branch from 68fd2be to edf811b Compare December 12, 2025 00:19
@hsmatulis hsmatulis changed the title build(lint): relax linter config for maintenance mode in release/0.12 build: relax linter config for maintenance mode in release/0.12 Dec 12, 2025
Copy link
Collaborator

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

Agree, LGTM

Copy link
Collaborator

@bernot-dev bernot-dev left a comment

Choose a reason for hiding this comment

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

We'll just disable or ignore the linter on release branches.

@bwplotka
Copy link
Collaborator

Seemed we agree to close this.

@bwplotka bwplotka closed this Dec 15, 2025
@bernot-dev bernot-dev deleted the hsmatulis-lint-maint-12 branch February 18, 2026 21:57
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.

3 participants