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
tflintconfigured in a git pre-commit hook, which you can see in this public repo. There are several problems with ittflinton 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.tflintprocesses files disabled by.gitignorewhich is a critical problem because it prevents me from committing my code when it finds issues in my dirty.tffiles 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
tflintignores all files disabled by.gitignoreby default.Beta Was this translation helpful? Give feedback.
All reactions