gruntwork-io / pre-commit

A collection of pre-commit hooks used by Gruntwork tools
https://gruntwork.io/
Apache License 2.0
484 stars 155 forks source link

tflint has deprecated the 'tflint FILE/DIR' syntax #95

Closed WolverineFan closed 1 year ago

WolverineFan commented 1 year ago

Description

tflint version v0.46.0 deprecates support for the tflint FILE/DIR command-line syntax. It has been replaced with tflint --chdir DIR --filter FILE. See https://github.com/terraform-linters/tflint/pull/1687 for more details.

Documentation

TODOs

Please ensure all of these TODOs are completed before asking for a review.

Related Issues

Fixes #94

gcagle3 commented 1 year ago

@WolverineFan could you rebase and pull in the recent changes from PR #92? We'd like to preserve the functionality from that PR to pass custom arguments, but would also like to implement your fix. Thanks in advance!

WolverineFan commented 1 year ago

@gcagle3 I created this after #92 was merged. It's already included

gcagle3 commented 1 year ago

Oh splendid! Let me run the tests real quick and then we can move this along.