tflint-ruleset-terraform
tflint-ruleset-terraform copied to clipboard
`unused_required_providers`: implement autofix
Implements autofix for terraform_unused_required_providers, on top of #93
Hmm, I don't know that it necessarily makes #21 much worse. People who have hit that either disabled the rule or added tflint-ignore comments. It could be slightly more confusing, i.e. auto fix might make you more liable to think TFLint is right and your code is wrong.
auto fix might make you more liable to think TFLint is right and your code is wrong.
Yes, I'm concerned about this possibility.
But for those who haven't faced this issue, autofix is obviously useful. So I approve of this change. I respect your decision to merge or not.
If you do merge, please rebase against the main branch as the base branch has been updated.