{"action":"closed","number":189,"pull_request":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/pulls/189","id":27649234,"html_url":"https://github.com/gruntjs/grunt-contrib-jshint/pull/189","diff_url":"https://github.com/gruntjs/grunt-contrib-jshint/pull/189.diff","patch_url":"https://github.com/gruntjs/grunt-contrib-jshint/pull/189.patch","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/issues/189","number":189,"state":"closed","locked":false,"title":"(Test only) grunt doesn't warn when the property of an undeclared variable is accessed","user":{"login":"FagnerMartinsBrack","id":835857,"avatar_url":"https://avatars.githubusercontent.com/u/835857?v=3","gravatar_id":"","url":"https://api.github.com/users/FagnerMartinsBrack","html_url":"https://github.com/FagnerMartinsBrack","followers_url":"https://api.github.com/users/FagnerMartinsBrack/followers","following_url":"https://api.github.com/users/FagnerMartinsBrack/following{/other_user}","gists_url":"https://api.github.com/users/FagnerMartinsBrack/gists{/gist_id}","starred_url":"https://api.github.com/users/FagnerMartinsBrack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FagnerMartinsBrack/subscriptions","organizations_url":"https://api.github.com/users/FagnerMartinsBrack/orgs","repos_url":"https://api.github.com/users/FagnerMartinsBrack/repos","events_url":"https://api.github.com/users/FagnerMartinsBrack/events{/privacy}","received_events_url":"https://api.github.com/users/FagnerMartinsBrack/received_events","type":"User","site_admin":false},"body":"The following code in an empty file make jshint succeed when it shouldn't:\r\n\r\n```javascript\r\nundefinedObject.property = 5;\r\n```\r\n\r\nIn jshint.com it fails:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/835857/5811105/3b3d1860-a038-11e4-8b55-84e99e81cb21.png)\r\n\r\nI managed to create a failing test to reproduce the issue. I am not sure of the problem is here or upstream, but I spotted the problem when using Grunt so I am reporting here.","created_at":"2015-01-20T02:09:28Z","updated_at":"2015-02-20T07:43:54Z","closed_at":"2015-02-20T07:43:54Z","merged_at":null,"merge_commit_sha":"37d2f5436167fa06e98cb5f1024e04686ed17346","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/pulls/189/commits","review_comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/pulls/189/comments","review_comment_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/pulls/comments/{number}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/issues/189/comments","statuses_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/statuses/5cbf0e631a5efc66d0dcafe4e8d0d497e2b406d5","head":{"label":"FagnerMartinsBrack:undefined-access","ref":"undefined-access","sha":"5cbf0e631a5efc66d0dcafe4e8d0d497e2b406d5","user":{"login":"FagnerMartinsBrack","id":835857,"avatar_url":"https://avatars.githubusercontent.com/u/835857?v=3","gravatar_id":"","url":"https://api.github.com/users/FagnerMartinsBrack","html_url":"https://github.com/FagnerMartinsBrack","followers_url":"https://api.github.com/users/FagnerMartinsBrack/followers","following_url":"https://api.github.com/users/FagnerMartinsBrack/following{/other_user}","gists_url":"https://api.github.com/users/FagnerMartinsBrack/gists{/gist_id}","starred_url":"https://api.github.com/users/FagnerMartinsBrack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FagnerMartinsBrack/subscriptions","organizations_url":"https://api.github.com/users/FagnerMartinsBrack/orgs","repos_url":"https://api.github.com/users/FagnerMartinsBrack/repos","events_url":"https://api.github.com/users/FagnerMartinsBrack/events{/privacy}","received_events_url":"https://api.github.com/users/FagnerMartinsBrack/received_events","type":"User","site_admin":false},"repo":{"id":29506562,"name":"grunt-contrib-jshint","full_name":"FagnerMartinsBrack/grunt-contrib-jshint","owner":{"login":"FagnerMartinsBrack","id":835857,"avatar_url":"https://avatars.githubusercontent.com/u/835857?v=3","gravatar_id":"","url":"https://api.github.com/users/FagnerMartinsBrack","html_url":"https://github.com/FagnerMartinsBrack","followers_url":"https://api.github.com/users/FagnerMartinsBrack/followers","following_url":"https://api.github.com/users/FagnerMartinsBrack/following{/other_user}","gists_url":"https://api.github.com/users/FagnerMartinsBrack/gists{/gist_id}","starred_url":"https://api.github.com/users/FagnerMartinsBrack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FagnerMartinsBrack/subscriptions","organizations_url":"https://api.github.com/users/FagnerMartinsBrack/orgs","repos_url":"https://api.github.com/users/FagnerMartinsBrack/repos","events_url":"https://api.github.com/users/FagnerMartinsBrack/events{/privacy}","received_events_url":"https://api.github.com/users/FagnerMartinsBrack/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FagnerMartinsBrack/grunt-contrib-jshint","description":"Validate files with JSHint.","fork":true,"url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint","forks_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/forks","keys_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/teams","hooks_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/hooks","issue_events_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/issues/events{/number}","events_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/events","assignees_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/assignees{/user}","branches_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/branches{/branch}","tags_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/tags","blobs_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/git/refs{/sha}","trees_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/statuses/{sha}","languages_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/languages","stargazers_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/stargazers","contributors_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/contributors","subscribers_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/subscribers","subscription_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/subscription","commits_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/commits{/sha}","git_commits_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/git/commits{/sha}","comments_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/comments{/number}","issue_comment_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/issues/comments/{number}","contents_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/contents/{+path}","compare_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/merges","archive_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/downloads","issues_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/issues{/number}","pulls_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/pulls{/number}","milestones_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/milestones{/number}","notifications_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/labels{/name}","releases_url":"https://api.github.com/repos/FagnerMartinsBrack/grunt-contrib-jshint/releases{/id}","created_at":"2015-01-20T01:55:45Z","updated_at":"2015-01-20T01:55:46Z","pushed_at":"2015-01-20T02:10:47Z","git_url":"git://github.com/FagnerMartinsBrack/grunt-contrib-jshint.git","ssh_url":"git@github.com:FagnerMartinsBrack/grunt-contrib-jshint.git","clone_url":"https://github.com/FagnerMartinsBrack/grunt-contrib-jshint.git","svn_url":"https://github.com/FagnerMartinsBrack/grunt-contrib-jshint","homepage":"http://gruntjs.com/","size":213,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gruntjs:master","ref":"master","sha":"cfb713028535b9c4acd73e33480e479fb7256c7e","user":{"login":"gruntjs","id":1630826,"avatar_url":"https://avatars.githubusercontent.com/u/1630826?v=3","gravatar_id":"","url":"https://api.github.com/users/gruntjs","html_url":"https://github.com/gruntjs","followers_url":"https://api.github.com/users/gruntjs/followers","following_url":"https://api.github.com/users/gruntjs/following{/other_user}","gists_url":"https://api.github.com/users/gruntjs/gists{/gist_id}","starred_url":"https://api.github.com/users/gruntjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gruntjs/subscriptions","organizations_url":"https://api.github.com/users/gruntjs/orgs","repos_url":"https://api.github.com/users/gruntjs/repos","events_url":"https://api.github.com/users/gruntjs/events{/privacy}","received_events_url":"https://api.github.com/users/gruntjs/received_events","type":"Organization","site_admin":false},"repo":{"id":6058744,"name":"grunt-contrib-jshint","full_name":"gruntjs/grunt-contrib-jshint","owner":{"login":"gruntjs","id":1630826,"avatar_url":"https://avatars.githubusercontent.com/u/1630826?v=3","gravatar_id":"","url":"https://api.github.com/users/gruntjs","html_url":"https://github.com/gruntjs","followers_url":"https://api.github.com/users/gruntjs/followers","following_url":"https://api.github.com/users/gruntjs/following{/other_user}","gists_url":"https://api.github.com/users/gruntjs/gists{/gist_id}","starred_url":"https://api.github.com/users/gruntjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gruntjs/subscriptions","organizations_url":"https://api.github.com/users/gruntjs/orgs","repos_url":"https://api.github.com/users/gruntjs/repos","events_url":"https://api.github.com/users/gruntjs/events{/privacy}","received_events_url":"https://api.github.com/users/gruntjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gruntjs/grunt-contrib-jshint","description":"Validate files with JSHint.","fork":false,"url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint","forks_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/forks","keys_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/teams","hooks_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/hooks","issue_events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/issues/events{/number}","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/events","assignees_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/assignees{/user}","branches_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/branches{/branch}","tags_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/tags","blobs_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/git/refs{/sha}","trees_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/statuses/{sha}","languages_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/languages","stargazers_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/stargazers","contributors_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/contributors","subscribers_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/subscribers","subscription_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/subscription","commits_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/commits{/sha}","git_commits_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/git/commits{/sha}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/comments{/number}","issue_comment_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/issues/comments/{number}","contents_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/contents/{+path}","compare_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/merges","archive_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/downloads","issues_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/issues{/number}","pulls_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/pulls{/number}","milestones_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/milestones{/number}","notifications_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/labels{/name}","releases_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/releases{/id}","created_at":"2012-10-03T11:00:14Z","updated_at":"2015-02-18T15:10:43Z","pushed_at":"2015-02-08T12:45:49Z","git_url":"git://github.com/gruntjs/grunt-contrib-jshint.git","ssh_url":"git@github.com:gruntjs/grunt-contrib-jshint.git","clone_url":"https://github.com/gruntjs/grunt-contrib-jshint.git","svn_url":"https://github.com/gruntjs/grunt-contrib-jshint","homepage":"http://gruntjs.com/","size":870,"stargazers_count":501,"watchers_count":501,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":137,"mirror_url":null,"open_issues_count":7,"forks":137,"open_issues":7,"watchers":501,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/pulls/189"},"html":{"href":"https://github.com/gruntjs/grunt-contrib-jshint/pull/189"},"issue":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/issues/189"},"comments":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/issues/189/comments"},"review_comments":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/pulls/189/comments"},"review_comment":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/pulls/189/commits"},"statuses":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-jshint/statuses/5cbf0e631a5efc66d0dcafe4e8d0d497e2b406d5"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":8,"deletions":0,"changed_files":2}}