{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/typescript-eslint-parser/issues/535","repository_url":"https://api.github.com/repos/eslint/typescript-eslint-parser","labels_url":"https://api.github.com/repos/eslint/typescript-eslint-parser/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/eslint/typescript-eslint-parser/issues/535/comments","events_url":"https://api.github.com/repos/eslint/typescript-eslint-parser/issues/535/events","html_url":"https://github.com/eslint/typescript-eslint-parser/issues/535","id":375915593,"node_id":"MDU6SXNzdWUzNzU5MTU1OTM=","number":535,"title":"no-dupe-args and no-redeclare false positives in 20.1.0","user":{"login":"vkrol","id":153412,"node_id":"MDQ6VXNlcjE1MzQxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/153412?v=4","gravatar_id":"","url":"https://api.github.com/users/vkrol","html_url":"https://github.com/vkrol","followers_url":"https://api.github.com/users/vkrol/followers","following_url":"https://api.github.com/users/vkrol/following{/other_user}","gists_url":"https://api.github.com/users/vkrol/gists{/gist_id}","starred_url":"https://api.github.com/users/vkrol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkrol/subscriptions","organizations_url":"https://api.github.com/users/vkrol/orgs","repos_url":"https://api.github.com/users/vkrol/repos","events_url":"https://api.github.com/users/vkrol/events{/privacy}","received_events_url":"https://api.github.com/users/vkrol/received_events","type":"User","site_admin":false},"labels":[{"id":311511775,"node_id":"MDU6TGFiZWwzMTE1MTE3NzU=","url":"https://api.github.com/repos/eslint/typescript-eslint-parser/labels/triage","name":"triage","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-31T11:24:11Z","updated_at":"2018-11-02T04:10:53Z","closed_at":null,"author_association":"NONE","body":"**What version of TypeScript are you using?**\r\n3.1.4\r\n\r\n**What version of `typescript-eslint-parser` are you using?**\r\n20.1.0\r\n\r\n**What code were you trying to parse?**\r\n\r\n```ts\r\nfunction foo({ bar }: { bar: string }) {\r\n\tconsole.log(bar);\r\n}\r\n```\r\n\r\n**What did you expect to happen?**\r\nNo errors.\r\n\r\n**What happened?**\r\n```\r\n  1:1   error  Duplicate param 'bar'         no-dupe-args\r\n  1:25  error  'bar' is already defined      no-redeclare\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/typescript-eslint-parser/issues/comments/435265641","html_url":"https://github.com/eslint/typescript-eslint-parser/issues/535#issuecomment-435265641","issue_url":"https://api.github.com/repos/eslint/typescript-eslint-parser/issues/535","id":435265641,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTI2NTY0MQ==","user":{"login":"mysticatea","id":1937871,"node_id":"MDQ6VXNlcjE5Mzc4NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1937871?v=4","gravatar_id":"","url":"https://api.github.com/users/mysticatea","html_url":"https://github.com/mysticatea","followers_url":"https://api.github.com/users/mysticatea/followers","following_url":"https://api.github.com/users/mysticatea/following{/other_user}","gists_url":"https://api.github.com/users/mysticatea/gists{/gist_id}","starred_url":"https://api.github.com/users/mysticatea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysticatea/subscriptions","organizations_url":"https://api.github.com/users/mysticatea/orgs","repos_url":"https://api.github.com/users/mysticatea/repos","events_url":"https://api.github.com/users/mysticatea/events{/privacy}","received_events_url":"https://api.github.com/users/mysticatea/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T04:10:53Z","updated_at":"2018-11-02T04:10:53Z","author_association":"MEMBER","body":"> Is this related to the eslint visitor keys change?\r\n\r\nYes. As I mentioned on https://github.com/eslint/typescript-eslint-parser/pull/516#issuecomment-428362948, the change changed traversal in scope analysis, too. (I had assumed people has disabled rules of variables because `tsc` verifies it)\r\n\r\nI will try to fix the scope analysis soon."}}
{"actor":{"display_login":"mysticatea"}}