Replies: 2 comments 4 replies
-
That's an interesting suggestion, but it's not obvious that |
Beta Was this translation helpful? Give feedback.
3 replies
-
Is there prior art? Other linters that do this, aside from the notes on ESLint?
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
I have
tflint
configured in a git pre-commit hook, which you can see in this public repo. There are several problems with ittflint
on pre-commit hook is rather expensive because it traverses all modules in the repo including ones that didn't change during the commit. This isn't a critical problem yet, but still something that can be addressed with proper filtering which I still haven't figured out.tflint
processes files disabled by.gitignore
which is a critical problem because it prevents me from committing my code when it finds issues in my dirty.tf
files that I keep in my repo outside of source control for testing.Proposal
The minimal fix that I'd like to propose is such that
tflint
ignores all files disabled by.gitignore
by default.Beta Was this translation helpful? Give feedback.
All reactions