{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/2645","labels_url":"https://api.github.com/repos/eslint/eslint/issues/2645/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/2645/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/2645/events","html_url":"https://github.com/eslint/eslint/issues/2645","id":83039333,"number":2645,"title":"As of v0.22.0, `no-shadow` errors on function names","user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-05-31T08:33:19Z","updated_at":"2015-06-02T20:20:07Z","closed_at":null,"body":"The `no-shadow` rule previously allowed:\r\n```js\r\nvar a = function a() {};\r\n```\r\n\r\nHowever, this appears to now warn, since the function's lexical name binding is technically shadowing the outer variable of the same name.\r\n\r\nThis is new breaking behavior - could there be a `no-shadow` option that ignores function names?"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/108086225","html_url":"https://github.com/eslint/eslint/issues/2645#issuecomment-108086225","issue_url":"https://api.github.com/repos/eslint/eslint/issues/2645","id":108086225,"user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T20:20:07Z","updated_at":"2015-06-02T20:20:07Z","body":"As a configurable option that'd be great :-)"}}