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

tflint: Make sure RuleNames always return all rules #100

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Feb 1, 2021

See also terraform-linters/tflint#1043 terraform-linters/tflint#1054

This PR adds the EnabledRules field to the BuiltinRuleSet so that it doesn't change the Rules field.

The Rules field always returns all rules provided by the ruleset, regardless of the configuration, so that the validation behavior doesn't change with or without the configuration applied.

@wata727 wata727 merged commit e305c29 into master Feb 1, 2021
@wata727 wata727 deleted the add_enabled_rules_field branch February 1, 2021 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant