{"action":"created","comment":{"url":"https://api.github.com/repos/eslint/eslint/pulls/comments/53728950","id":53728950,"diff_hunk":"@@ -65,34 +65,32 @@ function foo() {\n }\n ```\n \n-### `hoist`\n+### hoist\n \n-The option has three settings:\n+The `hoist` option has three settings:\n \n-* `all` - reports all shadowing before the outer variables/functions are defined.\n * `functions` (by default) - reports shadowing before the outer functions are defined.\n+* `all` - reports all shadowing before the outer variables/functions are defined.\n * `never` - never report shadowing before the outer variables/functions are defined.\n \n-#### `{ \"hoist\": \"all\" }`\n+#### hoist functions","path":"docs/rules/no-shadow.md","position":42,"original_position":42,"commit_id":"6671adda14c14d318a6a11fad29794d27adb9c29","original_commit_id":"6671adda14c14d318a6a11fad29794d27adb9c29","user":{"login":"pedrottimark","id":11862657,"avatar_url":"https://avatars.githubusercontent.com/u/11862657?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrottimark","html_url":"https://github.com/pedrottimark","followers_url":"https://api.github.com/users/pedrottimark/followers","following_url":"https://api.github.com/users/pedrottimark/following{/other_user}","gists_url":"https://api.github.com/users/pedrottimark/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrottimark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrottimark/subscriptions","organizations_url":"https://api.github.com/users/pedrottimark/orgs","repos_url":"https://api.github.com/users/pedrottimark/repos","events_url":"https://api.github.com/users/pedrottimark/events{/privacy}","received_events_url":"https://api.github.com/users/pedrottimark/received_events","type":"User","site_admin":false},"body":":+1:","created_at":"2016-02-23T02:30:31Z","updated_at":"2016-02-23T02:30:31Z","html_url":"https://github.com/eslint/eslint/pull/5375#discussion_r53728950","pull_request_url":"https://api.github.com/repos/eslint/eslint/pulls/5375","_links":{"self":{"href":"https://api.github.com/repos/eslint/eslint/pulls/comments/53728950"},"html":{"href":"https://github.com/eslint/eslint/pull/5375#discussion_r53728950"},"pull_request":{"href":"https://api.github.com/repos/eslint/eslint/pulls/5375"}}},"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/5375","id":60259620,"html_url":"https://github.com/eslint/eslint/pull/5375","diff_url":"https://github.com/eslint/eslint/pull/5375.diff","patch_url":"https://github.com/eslint/eslint/pull/5375.patch","issue_url":"https://api.github.com/repos/eslint/eslint/issues/5375","number":5375,"state":"open","locked":false,"title":"Docs: Distinguish examples in rules under Variables","user":{"login":"pedrottimark","id":11862657,"avatar_url":"https://avatars.githubusercontent.com/u/11862657?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrottimark","html_url":"https://github.com/pedrottimark","followers_url":"https://api.github.com/users/pedrottimark/followers","following_url":"https://api.github.com/users/pedrottimark/following{/other_user}","gists_url":"https://api.github.com/users/pedrottimark/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrottimark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrottimark/subscriptions","organizations_url":"https://api.github.com/users/pedrottimark/orgs","repos_url":"https://api.github.com/users/pedrottimark/repos","events_url":"https://api.github.com/users/pedrottimark/events{/privacy}","received_events_url":"https://api.github.com/users/pedrottimark/received_events","type":"User","site_admin":false},"body":"First batch of grammar changes for https://github.com/eslint/eslint.github.io/issues/108\r\n\r\nTo avoid merge conflicts, I will submit separate pull requests by headings in the rules list\r\n\r\nAlso trying to limit changes other than the sentences:\r\n* no-delete-var: add **Rule Details** and reorganize description\r\n* no-shadow-restricted-names: add **Related Rules**\r\n* no-shadow: add **Related Rules**; move default value of **hoist** to be first in list\r\n* no-undef: more clearly distinguish correct/incorrect with **global**\r\n* no-unused-vars: correct apparent type in global name; move **varsIgnorePattern** directly after **vars**; simplified its example, but something still does not seem right, will check more carefully; move default value of **args** to be first in list\r\n* no-use-before-define: put examples under **classes** in standard incorrect/correct order\r\n","created_at":"2016-02-22T23:20:24Z","updated_at":"2016-02-23T02:30:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"238aed8b574d831d7b74fabb8c7db25183b8c15d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eslint/eslint/pulls/5375/commits","review_comments_url":"https://api.github.com/repos/eslint/eslint/pulls/5375/comments","review_comment_url":"https://api.github.com/repos/eslint/eslint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/5375/comments","statuses_url":"https://api.github.com/repos/eslint/eslint/statuses/6671adda14c14d318a6a11fad29794d27adb9c29","head":{"label":"pedrottimark:distinguish-examples-variables","ref":"distinguish-examples-variables","sha":"6671adda14c14d318a6a11fad29794d27adb9c29","user":{"login":"pedrottimark","id":11862657,"avatar_url":"https://avatars.githubusercontent.com/u/11862657?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrottimark","html_url":"https://github.com/pedrottimark","followers_url":"https://api.github.com/users/pedrottimark/followers","following_url":"https://api.github.com/users/pedrottimark/following{/other_user}","gists_url":"https://api.github.com/users/pedrottimark/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrottimark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrottimark/subscriptions","organizations_url":"https://api.github.com/users/pedrottimark/orgs","repos_url":"https://api.github.com/users/pedrottimark/repos","events_url":"https://api.github.com/users/pedrottimark/events{/privacy}","received_events_url":"https://api.github.com/users/pedrottimark/received_events","type":"User","site_admin":false},"repo":{"id":50926047,"name":"eslint","full_name":"pedrottimark/eslint","owner":{"login":"pedrottimark","id":11862657,"avatar_url":"https://avatars.githubusercontent.com/u/11862657?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrottimark","html_url":"https://github.com/pedrottimark","followers_url":"https://api.github.com/users/pedrottimark/followers","following_url":"https://api.github.com/users/pedrottimark/following{/other_user}","gists_url":"https://api.github.com/users/pedrottimark/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrottimark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrottimark/subscriptions","organizations_url":"https://api.github.com/users/pedrottimark/orgs","repos_url":"https://api.github.com/users/pedrottimark/repos","events_url":"https://api.github.com/users/pedrottimark/events{/privacy}","received_events_url":"https://api.github.com/users/pedrottimark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pedrottimark/eslint","description":"A fully pluggable tool for identifying and reporting on patterns in JavaScript.","fork":true,"url":"https://api.github.com/repos/pedrottimark/eslint","forks_url":"https://api.github.com/repos/pedrottimark/eslint/forks","keys_url":"https://api.github.com/repos/pedrottimark/eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pedrottimark/eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pedrottimark/eslint/teams","hooks_url":"https://api.github.com/repos/pedrottimark/eslint/hooks","issue_events_url":"https://api.github.com/repos/pedrottimark/eslint/issues/events{/number}","events_url":"https://api.github.com/repos/pedrottimark/eslint/events","assignees_url":"https://api.github.com/repos/pedrottimark/eslint/assignees{/user}","branches_url":"https://api.github.com/repos/pedrottimark/eslint/branches{/branch}","tags_url":"https://api.github.com/repos/pedrottimark/eslint/tags","blobs_url":"https://api.github.com/repos/pedrottimark/eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pedrottimark/eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pedrottimark/eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/pedrottimark/eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pedrottimark/eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/pedrottimark/eslint/languages","stargazers_url":"https://api.github.com/repos/pedrottimark/eslint/stargazers","contributors_url":"https://api.github.com/repos/pedrottimark/eslint/contributors","subscribers_url":"https://api.github.com/repos/pedrottimark/eslint/subscribers","subscription_url":"https://api.github.com/repos/pedrottimark/eslint/subscription","commits_url":"https://api.github.com/repos/pedrottimark/eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/pedrottimark/eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/pedrottimark/eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/pedrottimark/eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/pedrottimark/eslint/contents/{+path}","compare_url":"https://api.github.com/repos/pedrottimark/eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pedrottimark/eslint/merges","archive_url":"https://api.github.com/repos/pedrottimark/eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pedrottimark/eslint/downloads","issues_url":"https://api.github.com/repos/pedrottimark/eslint/issues{/number}","pulls_url":"https://api.github.com/repos/pedrottimark/eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/pedrottimark/eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/pedrottimark/eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pedrottimark/eslint/labels{/name}","releases_url":"https://api.github.com/repos/pedrottimark/eslint/releases{/id}","deployments_url":"https://api.github.com/repos/pedrottimark/eslint/deployments","created_at":"2016-02-02T14:28:38Z","updated_at":"2016-02-02T14:28:41Z","pushed_at":"2016-02-22T22:56:30Z","git_url":"git://github.com/pedrottimark/eslint.git","ssh_url":"git@github.com:pedrottimark/eslint.git","clone_url":"https://github.com/pedrottimark/eslint.git","svn_url":"https://github.com/pedrottimark/eslint","homepage":"http://eslint.org","size":9130,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"eslint:master","ref":"master","sha":"e64437ed322c22d6c7c3679ade10742911da7b3d","user":{"login":"eslint","id":6019716,"avatar_url":"https://avatars.githubusercontent.com/u/6019716?v=3","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"repo":{"id":11061773,"name":"eslint","full_name":"eslint/eslint","owner":{"login":"eslint","id":6019716,"avatar_url":"https://avatars.githubusercontent.com/u/6019716?v=3","gravatar_id":"","url":"https://api.github.com/users/eslint","html_url":"https://github.com/eslint","followers_url":"https://api.github.com/users/eslint/followers","following_url":"https://api.github.com/users/eslint/following{/other_user}","gists_url":"https://api.github.com/users/eslint/gists{/gist_id}","starred_url":"https://api.github.com/users/eslint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslint/subscriptions","organizations_url":"https://api.github.com/users/eslint/orgs","repos_url":"https://api.github.com/users/eslint/repos","events_url":"https://api.github.com/users/eslint/events{/privacy}","received_events_url":"https://api.github.com/users/eslint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eslint/eslint","description":"A fully pluggable tool for identifying and reporting on patterns in JavaScript.","fork":false,"url":"https://api.github.com/repos/eslint/eslint","forks_url":"https://api.github.com/repos/eslint/eslint/forks","keys_url":"https://api.github.com/repos/eslint/eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eslint/eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eslint/eslint/teams","hooks_url":"https://api.github.com/repos/eslint/eslint/hooks","issue_events_url":"https://api.github.com/repos/eslint/eslint/issues/events{/number}","events_url":"https://api.github.com/repos/eslint/eslint/events","assignees_url":"https://api.github.com/repos/eslint/eslint/assignees{/user}","branches_url":"https://api.github.com/repos/eslint/eslint/branches{/branch}","tags_url":"https://api.github.com/repos/eslint/eslint/tags","blobs_url":"https://api.github.com/repos/eslint/eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eslint/eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eslint/eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/eslint/eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eslint/eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/eslint/eslint/languages","stargazers_url":"https://api.github.com/repos/eslint/eslint/stargazers","contributors_url":"https://api.github.com/repos/eslint/eslint/contributors","subscribers_url":"https://api.github.com/repos/eslint/eslint/subscribers","subscription_url":"https://api.github.com/repos/eslint/eslint/subscription","commits_url":"https://api.github.com/repos/eslint/eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/eslint/eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/eslint/eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/eslint/eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/eslint/eslint/contents/{+path}","compare_url":"https://api.github.com/repos/eslint/eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eslint/eslint/merges","archive_url":"https://api.github.com/repos/eslint/eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eslint/eslint/downloads","issues_url":"https://api.github.com/repos/eslint/eslint/issues{/number}","pulls_url":"https://api.github.com/repos/eslint/eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/eslint/eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/eslint/eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eslint/eslint/labels{/name}","releases_url":"https://api.github.com/repos/eslint/eslint/releases{/id}","deployments_url":"https://api.github.com/repos/eslint/eslint/deployments","created_at":"2013-06-29T23:59:48Z","updated_at":"2016-02-23T01:39:37Z","pushed_at":"2016-02-23T02:19:57Z","git_url":"git://github.com/eslint/eslint.git","ssh_url":"git@github.com:eslint/eslint.git","clone_url":"https://github.com/eslint/eslint.git","svn_url":"https://github.com/eslint/eslint","homepage":"http://eslint.org","size":13154,"stargazers_count":4176,"watchers_count":4176,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":822,"mirror_url":null,"open_issues_count":182,"forks":822,"open_issues":182,"watchers":4176,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eslint/eslint/pulls/5375"},"html":{"href":"https://github.com/eslint/eslint/pull/5375"},"issue":{"href":"https://api.github.com/repos/eslint/eslint/issues/5375"},"comments":{"href":"https://api.github.com/repos/eslint/eslint/issues/5375/comments"},"review_comments":{"href":"https://api.github.com/repos/eslint/eslint/pulls/5375/comments"},"review_comment":{"href":"https://api.github.com/repos/eslint/eslint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eslint/eslint/pulls/5375/commits"},"statuses":{"href":"https://api.github.com/repos/eslint/eslint/statuses/6671adda14c14d318a6a11fad29794d27adb9c29"}}}}