Skip to content
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

Fix finding config file for /dev/stdin #1194

Closed
wants to merge 1 commit into from
Closed

Fix finding config file for /dev/stdin #1194

wants to merge 1 commit into from

Conversation

NikolayFrantsev
Copy link

See #1165

@valueof valueof closed this in 9c2b8dd Aug 3, 2013
cybercase added a commit to cybercase/jshint that referenced this pull request Sep 29, 2013
In Documentation/Configuration, first paragraph, is stated that:
"JSHint will look for this file in the current working directory and, if not
found, will move one level up the directory tree all the way up to the
filesystem root." (note: "this file" = ".jshintrc")
Ref: http://www.jshint.com/docs/config/

But this is not true if input is coming from stdin.
This patch address this unexpected behaviour by calling function findConfig
even when the input is coming from stdin.
jugglinmike pushed a commit to jugglinmike/jshint that referenced this pull request Oct 21, 2014
Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant