{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4185","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4185/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4185/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4185/events","html_url":"https://github.com/eslint/eslint/issues/4185","id":112033769,"number":4185,"title":"no-magic-numbers and JSX","user":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars.githubusercontent.com/u/3165635?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-18T18:29:28Z","updated_at":"2015-10-19T06:03:27Z","closed_at":null,"body":"When running `no-magic-numbers` on this:\r\n\r\n```js\r\nReact.createClass({\r\n\trender() {\r\n\t\treturn <textarea rows={4} />;\r\n\t}\r\n});\r\n```\r\n\r\nThe rule throws for `rows={4}`.\r\nI think that JSX properties are explicit, not magic, hence, they should be ignored.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27504344-no-magic-numbers-and-jsx?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/149110692","html_url":"https://github.com/eslint/eslint/issues/4185#issuecomment-149110692","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4185","id":149110692,"user":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars.githubusercontent.com/u/3165635?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T06:03:27Z","updated_at":"2015-10-19T06:03:27Z","body":"@existentialism. Sure, go ahead"}}