{"action":"created","issue":{"url":"https://api.github.com/repos/jshint/jshint/issues/2127","labels_url":"https://api.github.com/repos/jshint/jshint/issues/2127/labels{/name}","comments_url":"https://api.github.com/repos/jshint/jshint/issues/2127/comments","events_url":"https://api.github.com/repos/jshint/jshint/issues/2127/events","html_url":"https://github.com/jshint/jshint/pull/2127","id":55320125,"number":2127,"title":"Fix `.jshintrc` resolution","user":{"login":"jonnyreeves","id":200185,"avatar_url":"https://avatars.githubusercontent.com/u/200185?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnyreeves","html_url":"https://github.com/jonnyreeves","followers_url":"https://api.github.com/users/jonnyreeves/followers","following_url":"https://api.github.com/users/jonnyreeves/following{/other_user}","gists_url":"https://api.github.com/users/jonnyreeves/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnyreeves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnyreeves/subscriptions","organizations_url":"https://api.github.com/users/jonnyreeves/orgs","repos_url":"https://api.github.com/users/jonnyreeves/repos","events_url":"https://api.github.com/users/jonnyreeves/events{/privacy}","received_events_url":"https://api.github.com/users/jonnyreeves/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jshint/jshint/labels/Needs%20review","name":"Needs review","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-23T19:13:50Z","updated_at":"2015-06-24T07:48:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jshint/jshint/pulls/2127","html_url":"https://github.com/jshint/jshint/pull/2127","diff_url":"https://github.com/jshint/jshint/pull/2127.diff","patch_url":"https://github.com/jshint/jshint/pull/2127.patch"},"body":"The current layout of the `findConfig` appears to contain an error which results in no `.jshintrc` being found if the user does not have one of the defined 'home' environment variables; I'm sure 99.9% of people will never run into this, but there is a small percentage of us out there who work with very, very bespoke systems ;)\r\n\r\nThis is a really tricky one to test as the tests themselves fail if you unset your home environment variable - however this PR does not change any functionality, just makes it a bit more explicit :)"},"comment":{"url":"https://api.github.com/repos/jshint/jshint/issues/comments/114769223","html_url":"https://github.com/jshint/jshint/pull/2127#issuecomment-114769223","issue_url":"https://api.github.com/repos/jshint/jshint/issues/2127","id":114769223,"user":{"login":"lukeapage","id":309321,"avatar_url":"https://avatars.githubusercontent.com/u/309321?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeapage","html_url":"https://github.com/lukeapage","followers_url":"https://api.github.com/users/lukeapage/followers","following_url":"https://api.github.com/users/lukeapage/following{/other_user}","gists_url":"https://api.github.com/users/lukeapage/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeapage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeapage/subscriptions","organizations_url":"https://api.github.com/users/lukeapage/orgs","repos_url":"https://api.github.com/users/lukeapage/repos","events_url":"https://api.github.com/users/lukeapage/events{/privacy}","received_events_url":"https://api.github.com/users/lukeapage/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T07:48:50Z","updated_at":"2015-06-24T07:48:50Z","body":"Your code makes much more sense anyway and a further change could be to not even get the home dir if the project matches something."}}