Skip to content

feature: add enableDefaultRules config option#1551

Merged
alexandear merged 7 commits intomgechev:masterfrom
cce:enable-default-rules
Nov 6, 2025
Merged

feature: add enableDefaultRules config option#1551
alexandear merged 7 commits intomgechev:masterfrom
cce:enable-default-rules

Conversation

@cce
Copy link
Copy Markdown
Contributor

@cce cce commented Oct 23, 2025

Adds boolean enableDefaultRules option to the configuration.

Allows users to enable/disable individual rules assuming the default set has already been enabled. This makes it easier for users to exclude specific rules beyond the default configuration, and not have to check during upgrades if new rules have appeared in the default set.

Closes #1550.

@cce cce changed the title add Config.EnableDefaultRules feature: add Config.EnableDefaultRules Oct 23, 2025
Comment thread config/config.go Outdated
Comment thread config/config_test.go
@chavacava chavacava requested a review from alexandear October 23, 2025 14:44
@cce cce requested a review from chavacava October 31, 2025 18:19
@alexandear alexandear changed the title feature: add Config.EnableDefaultRules feature: add enableDefaultRules config option Nov 6, 2025
@alexandear alexandear merged commit ed85b79 into mgechev:master Nov 6, 2025
10 checks passed
@cce cce deleted the enable-default-rules branch November 10, 2025 20:00
@cce
Copy link
Copy Markdown
Contributor Author

cce commented Nov 10, 2025

Thanks for you work on integrating this PR and on maintaining this linter!

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.

Add enableDefaultRules configuration option

3 participants