-
Notifications
You must be signed in to change notification settings - Fork 196
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
hlint -g .
does not respect .gitignore
#1090
Comments
On my machine it runs |
Ah, I think |
Ah I see, I didn't realize that providing a directory/file argument was optional, but it's clear from the |
In my repo directory, I have
dist-newstyle
created by cabal in my gitignore, howeverhlint -g
goes into this directory and returns lint errors for sources checkout by cabal inside this directory.As a workaround I am using
git ls-files | grep '.hs$' | xargs hlint
.The text was updated successfully, but these errors were encountered: