-
Notifications
You must be signed in to change notification settings - Fork 13
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
Blatantly ignores relevant dotfiles #9
Comments
How did you install ochtra? If it's a symlink, the current directory will not be your project's, and jshint will not be able to travel upwards until it finds your project's |
It's not a symlink. I added the file to my git template and it's a regular file in |
Hm. and what if you point jshint to your rc file via |
It's general problem. I try resolve for Whole check doesn't have access to to project folder and we check only files in commit, don't read everything. Many users can used different settings for project and we can't cover all possibilities. I seen many project @kvz can we help project root directory as variable in ochtra? |
This pre-commit hook is a great idea, but sadly I can't reasonably use it in JS projects because it completely bypasses the relevant
.jshintrc
files by reading from STDIN instead of from disk.Is there any way to fix this problem or is it a limitation of git hooks in general?
The text was updated successfully, but these errors were encountered: