{"action":"opened","number":2149,"pull_request":{"url":"https://api.github.com/repos/jshint/jshint/pulls/2149","id":28610401,"html_url":"https://github.com/jshint/jshint/pull/2149","diff_url":"https://github.com/jshint/jshint/pull/2149.diff","patch_url":"https://github.com/jshint/jshint/pull/2149.patch","issue_url":"https://api.github.com/repos/jshint/jshint/issues/2149","number":2149,"state":"open","locked":false,"title":"[[FIX]] ES6 modules respect undef and unused","user":{"login":"leebyron","id":50130,"avatar_url":"https://avatars.githubusercontent.com/u/50130?v=3","gravatar_id":"","url":"https://api.github.com/users/leebyron","html_url":"https://github.com/leebyron","followers_url":"https://api.github.com/users/leebyron/followers","following_url":"https://api.github.com/users/leebyron/following{/other_user}","gists_url":"https://api.github.com/users/leebyron/gists{/gist_id}","starred_url":"https://api.github.com/users/leebyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebyron/subscriptions","organizations_url":"https://api.github.com/users/leebyron/orgs","repos_url":"https://api.github.com/users/leebyron/repos","events_url":"https://api.github.com/users/leebyron/events{/privacy}","received_events_url":"https://api.github.com/users/leebyron/received_events","type":"User","site_admin":false},"body":"This adds scoping rules for ES6 modules, ensuring that undef and unused rules accurate reflect\r\nthe behavior of ES6 modules on the scope.\r\n\r\nThis also adds syntax parsing support for `export { foo as bar }` aliasing.\r\n\r\nFixes: #2147\r\nFixes: #2148","created_at":"2015-02-04T03:15:24Z","updated_at":"2015-02-04T03:15:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jshint/jshint/pulls/2149/commits","review_comments_url":"https://api.github.com/repos/jshint/jshint/pulls/2149/comments","review_comment_url":"https://api.github.com/repos/jshint/jshint/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jshint/jshint/issues/2149/comments","statuses_url":"https://api.github.com/repos/jshint/jshint/statuses/0abbdc156650280e2192b3641fe64d86464fa3b0","head":{"label":"leebyron:es6module","ref":"es6module","sha":"0abbdc156650280e2192b3641fe64d86464fa3b0","user":{"login":"leebyron","id":50130,"avatar_url":"https://avatars.githubusercontent.com/u/50130?v=3","gravatar_id":"","url":"https://api.github.com/users/leebyron","html_url":"https://github.com/leebyron","followers_url":"https://api.github.com/users/leebyron/followers","following_url":"https://api.github.com/users/leebyron/following{/other_user}","gists_url":"https://api.github.com/users/leebyron/gists{/gist_id}","starred_url":"https://api.github.com/users/leebyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebyron/subscriptions","organizations_url":"https://api.github.com/users/leebyron/orgs","repos_url":"https://api.github.com/users/leebyron/repos","events_url":"https://api.github.com/users/leebyron/events{/privacy}","received_events_url":"https://api.github.com/users/leebyron/received_events","type":"User","site_admin":false},"repo":{"id":30218154,"name":"jshint","full_name":"leebyron/jshint","owner":{"login":"leebyron","id":50130,"avatar_url":"https://avatars.githubusercontent.com/u/50130?v=3","gravatar_id":"","url":"https://api.github.com/users/leebyron","html_url":"https://github.com/leebyron","followers_url":"https://api.github.com/users/leebyron/followers","following_url":"https://api.github.com/users/leebyron/following{/other_user}","gists_url":"https://api.github.com/users/leebyron/gists{/gist_id}","starred_url":"https://api.github.com/users/leebyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebyron/subscriptions","organizations_url":"https://api.github.com/users/leebyron/orgs","repos_url":"https://api.github.com/users/leebyron/repos","events_url":"https://api.github.com/users/leebyron/events{/privacy}","received_events_url":"https://api.github.com/users/leebyron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leebyron/jshint","description":"JSHint is a tool that helps to detect errors and potential problems in your JavaScript code","fork":true,"url":"https://api.github.com/repos/leebyron/jshint","forks_url":"https://api.github.com/repos/leebyron/jshint/forks","keys_url":"https://api.github.com/repos/leebyron/jshint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leebyron/jshint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leebyron/jshint/teams","hooks_url":"https://api.github.com/repos/leebyron/jshint/hooks","issue_events_url":"https://api.github.com/repos/leebyron/jshint/issues/events{/number}","events_url":"https://api.github.com/repos/leebyron/jshint/events","assignees_url":"https://api.github.com/repos/leebyron/jshint/assignees{/user}","branches_url":"https://api.github.com/repos/leebyron/jshint/branches{/branch}","tags_url":"https://api.github.com/repos/leebyron/jshint/tags","blobs_url":"https://api.github.com/repos/leebyron/jshint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leebyron/jshint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leebyron/jshint/git/refs{/sha}","trees_url":"https://api.github.com/repos/leebyron/jshint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leebyron/jshint/statuses/{sha}","languages_url":"https://api.github.com/repos/leebyron/jshint/languages","stargazers_url":"https://api.github.com/repos/leebyron/jshint/stargazers","contributors_url":"https://api.github.com/repos/leebyron/jshint/contributors","subscribers_url":"https://api.github.com/repos/leebyron/jshint/subscribers","subscription_url":"https://api.github.com/repos/leebyron/jshint/subscription","commits_url":"https://api.github.com/repos/leebyron/jshint/commits{/sha}","git_commits_url":"https://api.github.com/repos/leebyron/jshint/git/commits{/sha}","comments_url":"https://api.github.com/repos/leebyron/jshint/comments{/number}","issue_comment_url":"https://api.github.com/repos/leebyron/jshint/issues/comments/{number}","contents_url":"https://api.github.com/repos/leebyron/jshint/contents/{+path}","compare_url":"https://api.github.com/repos/leebyron/jshint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leebyron/jshint/merges","archive_url":"https://api.github.com/repos/leebyron/jshint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leebyron/jshint/downloads","issues_url":"https://api.github.com/repos/leebyron/jshint/issues{/number}","pulls_url":"https://api.github.com/repos/leebyron/jshint/pulls{/number}","milestones_url":"https://api.github.com/repos/leebyron/jshint/milestones{/number}","notifications_url":"https://api.github.com/repos/leebyron/jshint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leebyron/jshint/labels{/name}","releases_url":"https://api.github.com/repos/leebyron/jshint/releases{/id}","created_at":"2015-02-03T01:21:43Z","updated_at":"2015-02-03T01:21:44Z","pushed_at":"2015-02-04T03:15:07Z","git_url":"git://github.com/leebyron/jshint.git","ssh_url":"git@github.com:leebyron/jshint.git","clone_url":"https://github.com/leebyron/jshint.git","svn_url":"https://github.com/leebyron/jshint","homepage":"http://jshint.com","size":15729,"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":"jshint:master","ref":"master","sha":"0ebe613c89e8cb5faabc1d714be2f29f56d32e00","user":{"login":"jshint","id":1335450,"avatar_url":"https://avatars.githubusercontent.com/u/1335450?v=3","gravatar_id":"","url":"https://api.github.com/users/jshint","html_url":"https://github.com/jshint","followers_url":"https://api.github.com/users/jshint/followers","following_url":"https://api.github.com/users/jshint/following{/other_user}","gists_url":"https://api.github.com/users/jshint/gists{/gist_id}","starred_url":"https://api.github.com/users/jshint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshint/subscriptions","organizations_url":"https://api.github.com/users/jshint/orgs","repos_url":"https://api.github.com/users/jshint/repos","events_url":"https://api.github.com/users/jshint/events{/privacy}","received_events_url":"https://api.github.com/users/jshint/received_events","type":"Organization","site_admin":false},"repo":{"id":1272666,"name":"jshint","full_name":"jshint/jshint","owner":{"login":"jshint","id":1335450,"avatar_url":"https://avatars.githubusercontent.com/u/1335450?v=3","gravatar_id":"","url":"https://api.github.com/users/jshint","html_url":"https://github.com/jshint","followers_url":"https://api.github.com/users/jshint/followers","following_url":"https://api.github.com/users/jshint/following{/other_user}","gists_url":"https://api.github.com/users/jshint/gists{/gist_id}","starred_url":"https://api.github.com/users/jshint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshint/subscriptions","organizations_url":"https://api.github.com/users/jshint/orgs","repos_url":"https://api.github.com/users/jshint/repos","events_url":"https://api.github.com/users/jshint/events{/privacy}","received_events_url":"https://api.github.com/users/jshint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jshint/jshint","description":"JSHint is a tool that helps to detect errors and potential problems in your JavaScript code","fork":false,"url":"https://api.github.com/repos/jshint/jshint","forks_url":"https://api.github.com/repos/jshint/jshint/forks","keys_url":"https://api.github.com/repos/jshint/jshint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jshint/jshint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jshint/jshint/teams","hooks_url":"https://api.github.com/repos/jshint/jshint/hooks","issue_events_url":"https://api.github.com/repos/jshint/jshint/issues/events{/number}","events_url":"https://api.github.com/repos/jshint/jshint/events","assignees_url":"https://api.github.com/repos/jshint/jshint/assignees{/user}","branches_url":"https://api.github.com/repos/jshint/jshint/branches{/branch}","tags_url":"https://api.github.com/repos/jshint/jshint/tags","blobs_url":"https://api.github.com/repos/jshint/jshint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jshint/jshint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jshint/jshint/git/refs{/sha}","trees_url":"https://api.github.com/repos/jshint/jshint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jshint/jshint/statuses/{sha}","languages_url":"https://api.github.com/repos/jshint/jshint/languages","stargazers_url":"https://api.github.com/repos/jshint/jshint/stargazers","contributors_url":"https://api.github.com/repos/jshint/jshint/contributors","subscribers_url":"https://api.github.com/repos/jshint/jshint/subscribers","subscription_url":"https://api.github.com/repos/jshint/jshint/subscription","commits_url":"https://api.github.com/repos/jshint/jshint/commits{/sha}","git_commits_url":"https://api.github.com/repos/jshint/jshint/git/commits{/sha}","comments_url":"https://api.github.com/repos/jshint/jshint/comments{/number}","issue_comment_url":"https://api.github.com/repos/jshint/jshint/issues/comments/{number}","contents_url":"https://api.github.com/repos/jshint/jshint/contents/{+path}","compare_url":"https://api.github.com/repos/jshint/jshint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jshint/jshint/merges","archive_url":"https://api.github.com/repos/jshint/jshint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jshint/jshint/downloads","issues_url":"https://api.github.com/repos/jshint/jshint/issues{/number}","pulls_url":"https://api.github.com/repos/jshint/jshint/pulls{/number}","milestones_url":"https://api.github.com/repos/jshint/jshint/milestones{/number}","notifications_url":"https://api.github.com/repos/jshint/jshint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jshint/jshint/labels{/name}","releases_url":"https://api.github.com/repos/jshint/jshint/releases{/id}","created_at":"2011-01-19T22:28:53Z","updated_at":"2015-02-04T01:04:07Z","pushed_at":"2015-02-03T21:27:27Z","git_url":"git://github.com/jshint/jshint.git","ssh_url":"git@github.com:jshint/jshint.git","clone_url":"https://github.com/jshint/jshint.git","svn_url":"https://github.com/jshint/jshint","homepage":"http://jshint.com","size":15729,"stargazers_count":4491,"watchers_count":4491,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":947,"mirror_url":null,"open_issues_count":307,"forks":947,"open_issues":307,"watchers":4491,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jshint/jshint/pulls/2149"},"html":{"href":"https://github.com/jshint/jshint/pull/2149"},"issue":{"href":"https://api.github.com/repos/jshint/jshint/issues/2149"},"comments":{"href":"https://api.github.com/repos/jshint/jshint/issues/2149/comments"},"review_comments":{"href":"https://api.github.com/repos/jshint/jshint/pulls/2149/comments"},"review_comment":{"href":"https://api.github.com/repos/jshint/jshint/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jshint/jshint/pulls/2149/commits"},"statuses":{"href":"https://api.github.com/repos/jshint/jshint/statuses/0abbdc156650280e2192b3641fe64d86464fa3b0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":90,"deletions":21,"changed_files":4}}