{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/1534","labels_url":"https://api.github.com/repos/eslint/eslint/issues/1534/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/1534/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/1534/events","html_url":"https://github.com/eslint/eslint/issues/1534","id":50463248,"number":1534,"title":"es6jsx: no-unused-vars misses JSX references","user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/es6jsx","name":"es6jsx","color":"006b75"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/eslint/eslint/milestones/11","labels_url":"https://api.github.com/repos/eslint/eslint/milestones/11/labels","id":882982,"number":11,"title":"v0.11.0","description":"","creator":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2014-11-27T20:53:13Z","updated_at":"2015-01-12T15:52:00Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2014-11-30T16:56:26Z","updated_at":"2015-01-12T15:52:27Z","closed_at":null,"body":"I'm using eslint v0.11.0-alpha.0 and getting `no-unused-vars` errors in my JSX template code:\r\n\r\n```JavaScript\r\nvar React = require('react');\r\n\r\nvar App = React.createClass({\r\n  render: function() {\r\n    return (\r\n      <div>\r\n        <h1>wat</h1>\r\n      </div>\r\n    );\r\n  }\r\n});\r\n\r\nReact.render(<App />, document.body);\r\n```\r\n\r\nThis produces the following errors:\r\n\r\n```bash\r\nಠ_ಠ  ~/code/happytrack λ eslint durp.jsx\r\n\r\ndurp.jsx\r\n  3:4   error  App is defined but never used                                 no-unused-vars\r\n```\r\n\r\n\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Place a bounty on it!](https://www.bountysource.com/issues/6634342-es6jsx-no-unused-vars-misses-jsx-references?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/69590769","html_url":"https://github.com/eslint/eslint/issues/1534#issuecomment-69590769","issue_url":"https://api.github.com/repos/eslint/eslint/issues/1534","id":69590769,"user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T15:52:27Z","updated_at":"2015-01-12T15:52:27Z","body":"@yannickcr are you using the master branch?"}}