{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/mirego/phare/pulls/32","id":43533886,"html_url":"https://github.com/mirego/phare/pull/32","diff_url":"https://github.com/mirego/phare/pull/32.diff","patch_url":"https://github.com/mirego/phare/pull/32.patch","issue_url":"https://api.github.com/repos/mirego/phare/issues/32","number":32,"state":"open","locked":false,"title":"Remove hardcoded path for JSHint","user":{"login":"garno","id":27001,"avatar_url":"https://avatars.githubusercontent.com/u/27001?v=3","gravatar_id":"","url":"https://api.github.com/users/garno","html_url":"https://github.com/garno","followers_url":"https://api.github.com/users/garno/followers","following_url":"https://api.github.com/users/garno/following{/other_user}","gists_url":"https://api.github.com/users/garno/gists{/gist_id}","starred_url":"https://api.github.com/users/garno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garno/subscriptions","organizations_url":"https://api.github.com/users/garno/orgs","repos_url":"https://api.github.com/users/garno/repos","events_url":"https://api.github.com/users/garno/events{/privacy}","received_events_url":"https://api.github.com/users/garno/received_events","type":"User","site_admin":false},"body":"We don't need to specify a folder for `JSHint` other that the current directory. Instead, we should specify folders we don't want to lint in the `.jshintignore` file.\r\n\r\nI've tested with old project and it works like a charm. Also, by running `JSHint` in the current directory, we don't need to specify the configuration file.\r\n\r\nI'm not sure but I think this also can fix the issue #11 reported by @charlesdemers.","created_at":"2015-08-27T15:51:32Z","updated_at":"2015-08-27T15:51:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mirego/phare/pulls/32/commits","review_comments_url":"https://api.github.com/repos/mirego/phare/pulls/32/comments","review_comment_url":"https://api.github.com/repos/mirego/phare/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mirego/phare/issues/32/comments","statuses_url":"https://api.github.com/repos/mirego/phare/statuses/fe8bc3dd8c9d7b6b9d3db9f9b22e323194814ff7","head":{"label":"mirego:feature/path-config--jshint","ref":"feature/path-config--jshint","sha":"fe8bc3dd8c9d7b6b9d3db9f9b22e323194814ff7","user":{"login":"mirego","id":1202891,"avatar_url":"https://avatars.githubusercontent.com/u/1202891?v=3","gravatar_id":"","url":"https://api.github.com/users/mirego","html_url":"https://github.com/mirego","followers_url":"https://api.github.com/users/mirego/followers","following_url":"https://api.github.com/users/mirego/following{/other_user}","gists_url":"https://api.github.com/users/mirego/gists{/gist_id}","starred_url":"https://api.github.com/users/mirego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirego/subscriptions","organizations_url":"https://api.github.com/users/mirego/orgs","repos_url":"https://api.github.com/users/mirego/repos","events_url":"https://api.github.com/users/mirego/events{/privacy}","received_events_url":"https://api.github.com/users/mirego/received_events","type":"Organization","site_admin":false},"repo":{"id":17187909,"name":"phare","full_name":"mirego/phare","owner":{"login":"mirego","id":1202891,"avatar_url":"https://avatars.githubusercontent.com/u/1202891?v=3","gravatar_id":"","url":"https://api.github.com/users/mirego","html_url":"https://github.com/mirego","followers_url":"https://api.github.com/users/mirego/followers","following_url":"https://api.github.com/users/mirego/following{/other_user}","gists_url":"https://api.github.com/users/mirego/gists{/gist_id}","starred_url":"https://api.github.com/users/mirego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirego/subscriptions","organizations_url":"https://api.github.com/users/mirego/orgs","repos_url":"https://api.github.com/users/mirego/repos","events_url":"https://api.github.com/users/mirego/events{/privacy}","received_events_url":"https://api.github.com/users/mirego/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mirego/phare","description":"Phare looks into your files and check for coding style errors.","fork":false,"url":"https://api.github.com/repos/mirego/phare","forks_url":"https://api.github.com/repos/mirego/phare/forks","keys_url":"https://api.github.com/repos/mirego/phare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mirego/phare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mirego/phare/teams","hooks_url":"https://api.github.com/repos/mirego/phare/hooks","issue_events_url":"https://api.github.com/repos/mirego/phare/issues/events{/number}","events_url":"https://api.github.com/repos/mirego/phare/events","assignees_url":"https://api.github.com/repos/mirego/phare/assignees{/user}","branches_url":"https://api.github.com/repos/mirego/phare/branches{/branch}","tags_url":"https://api.github.com/repos/mirego/phare/tags","blobs_url":"https://api.github.com/repos/mirego/phare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mirego/phare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mirego/phare/git/refs{/sha}","trees_url":"https://api.github.com/repos/mirego/phare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mirego/phare/statuses/{sha}","languages_url":"https://api.github.com/repos/mirego/phare/languages","stargazers_url":"https://api.github.com/repos/mirego/phare/stargazers","contributors_url":"https://api.github.com/repos/mirego/phare/contributors","subscribers_url":"https://api.github.com/repos/mirego/phare/subscribers","subscription_url":"https://api.github.com/repos/mirego/phare/subscription","commits_url":"https://api.github.com/repos/mirego/phare/commits{/sha}","git_commits_url":"https://api.github.com/repos/mirego/phare/git/commits{/sha}","comments_url":"https://api.github.com/repos/mirego/phare/comments{/number}","issue_comment_url":"https://api.github.com/repos/mirego/phare/issues/comments{/number}","contents_url":"https://api.github.com/repos/mirego/phare/contents/{+path}","compare_url":"https://api.github.com/repos/mirego/phare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mirego/phare/merges","archive_url":"https://api.github.com/repos/mirego/phare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mirego/phare/downloads","issues_url":"https://api.github.com/repos/mirego/phare/issues{/number}","pulls_url":"https://api.github.com/repos/mirego/phare/pulls{/number}","milestones_url":"https://api.github.com/repos/mirego/phare/milestones{/number}","notifications_url":"https://api.github.com/repos/mirego/phare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mirego/phare/labels{/name}","releases_url":"https://api.github.com/repos/mirego/phare/releases{/id}","created_at":"2014-02-25T20:56:37Z","updated_at":"2015-04-22T18:17:43Z","pushed_at":"2015-08-27T15:51:32Z","git_url":"git://github.com/mirego/phare.git","ssh_url":"git@github.com:mirego/phare.git","clone_url":"https://github.com/mirego/phare.git","svn_url":"https://github.com/mirego/phare","homepage":"http://open.mirego.com","size":639,"stargazers_count":22,"watchers_count":22,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":22,"default_branch":"master"}},"base":{"label":"mirego:feature/path-config","ref":"feature/path-config","sha":"667b07b4cf3f2619e7ee35b1a33a2f8d3f166e6a","user":{"login":"mirego","id":1202891,"avatar_url":"https://avatars.githubusercontent.com/u/1202891?v=3","gravatar_id":"","url":"https://api.github.com/users/mirego","html_url":"https://github.com/mirego","followers_url":"https://api.github.com/users/mirego/followers","following_url":"https://api.github.com/users/mirego/following{/other_user}","gists_url":"https://api.github.com/users/mirego/gists{/gist_id}","starred_url":"https://api.github.com/users/mirego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirego/subscriptions","organizations_url":"https://api.github.com/users/mirego/orgs","repos_url":"https://api.github.com/users/mirego/repos","events_url":"https://api.github.com/users/mirego/events{/privacy}","received_events_url":"https://api.github.com/users/mirego/received_events","type":"Organization","site_admin":false},"repo":{"id":17187909,"name":"phare","full_name":"mirego/phare","owner":{"login":"mirego","id":1202891,"avatar_url":"https://avatars.githubusercontent.com/u/1202891?v=3","gravatar_id":"","url":"https://api.github.com/users/mirego","html_url":"https://github.com/mirego","followers_url":"https://api.github.com/users/mirego/followers","following_url":"https://api.github.com/users/mirego/following{/other_user}","gists_url":"https://api.github.com/users/mirego/gists{/gist_id}","starred_url":"https://api.github.com/users/mirego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirego/subscriptions","organizations_url":"https://api.github.com/users/mirego/orgs","repos_url":"https://api.github.com/users/mirego/repos","events_url":"https://api.github.com/users/mirego/events{/privacy}","received_events_url":"https://api.github.com/users/mirego/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mirego/phare","description":"Phare looks into your files and check for coding style errors.","fork":false,"url":"https://api.github.com/repos/mirego/phare","forks_url":"https://api.github.com/repos/mirego/phare/forks","keys_url":"https://api.github.com/repos/mirego/phare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mirego/phare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mirego/phare/teams","hooks_url":"https://api.github.com/repos/mirego/phare/hooks","issue_events_url":"https://api.github.com/repos/mirego/phare/issues/events{/number}","events_url":"https://api.github.com/repos/mirego/phare/events","assignees_url":"https://api.github.com/repos/mirego/phare/assignees{/user}","branches_url":"https://api.github.com/repos/mirego/phare/branches{/branch}","tags_url":"https://api.github.com/repos/mirego/phare/tags","blobs_url":"https://api.github.com/repos/mirego/phare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mirego/phare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mirego/phare/git/refs{/sha}","trees_url":"https://api.github.com/repos/mirego/phare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mirego/phare/statuses/{sha}","languages_url":"https://api.github.com/repos/mirego/phare/languages","stargazers_url":"https://api.github.com/repos/mirego/phare/stargazers","contributors_url":"https://api.github.com/repos/mirego/phare/contributors","subscribers_url":"https://api.github.com/repos/mirego/phare/subscribers","subscription_url":"https://api.github.com/repos/mirego/phare/subscription","commits_url":"https://api.github.com/repos/mirego/phare/commits{/sha}","git_commits_url":"https://api.github.com/repos/mirego/phare/git/commits{/sha}","comments_url":"https://api.github.com/repos/mirego/phare/comments{/number}","issue_comment_url":"https://api.github.com/repos/mirego/phare/issues/comments{/number}","contents_url":"https://api.github.com/repos/mirego/phare/contents/{+path}","compare_url":"https://api.github.com/repos/mirego/phare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mirego/phare/merges","archive_url":"https://api.github.com/repos/mirego/phare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mirego/phare/downloads","issues_url":"https://api.github.com/repos/mirego/phare/issues{/number}","pulls_url":"https://api.github.com/repos/mirego/phare/pulls{/number}","milestones_url":"https://api.github.com/repos/mirego/phare/milestones{/number}","notifications_url":"https://api.github.com/repos/mirego/phare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mirego/phare/labels{/name}","releases_url":"https://api.github.com/repos/mirego/phare/releases{/id}","created_at":"2014-02-25T20:56:37Z","updated_at":"2015-04-22T18:17:43Z","pushed_at":"2015-08-27T15:51:32Z","git_url":"git://github.com/mirego/phare.git","ssh_url":"git@github.com:mirego/phare.git","clone_url":"https://github.com/mirego/phare.git","svn_url":"https://github.com/mirego/phare","homepage":"http://open.mirego.com","size":639,"stargazers_count":22,"watchers_count":22,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mirego/phare/pulls/32"},"html":{"href":"https://github.com/mirego/phare/pull/32"},"issue":{"href":"https://api.github.com/repos/mirego/phare/issues/32"},"comments":{"href":"https://api.github.com/repos/mirego/phare/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/mirego/phare/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/mirego/phare/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mirego/phare/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/mirego/phare/statuses/fe8bc3dd8c9d7b6b9d3db9f9b22e323194814ff7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":4,"changed_files":1}}