{"action":"created","issue":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/186","labels_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/186/comments","events_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/186/events","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/186","id":100201221,"number":186,"title":"'className' instead of 'class' within JSX markup","user":{"login":"dexterlohnes","id":1360965,"avatar_url":"https://avatars.githubusercontent.com/u/1360965?v=3","gravatar_id":"","url":"https://api.github.com/users/dexterlohnes","html_url":"https://github.com/dexterlohnes","followers_url":"https://api.github.com/users/dexterlohnes/followers","following_url":"https://api.github.com/users/dexterlohnes/following{/other_user}","gists_url":"https://api.github.com/users/dexterlohnes/gists{/gist_id}","starred_url":"https://api.github.com/users/dexterlohnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dexterlohnes/subscriptions","organizations_url":"https://api.github.com/users/dexterlohnes/orgs","repos_url":"https://api.github.com/users/dexterlohnes/repos","events_url":"https://api.github.com/users/dexterlohnes/events{/privacy}","received_events_url":"https://api.github.com/users/dexterlohnes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-11T01:03:34Z","updated_at":"2015-08-11T07:39:06Z","closed_at":"2015-08-11T07:39:06Z","body":"Hi,\r\n\r\nIs there anyway we could add a rule that lets you lint for the use of the 'class' field when it should be 'className'?\r\n\r\nex:\r\n```javascript\r\nrender () {\r\n\tconsole.log('Render');\r\n    return (\r\n\t\t<div key={this.props.id} class='bookListItem'>\r\n\t\t\t<p>{this.props.title}</p>\r\n\t\t\t<p>{this.props.description}</p>\r\n\t\t</div>\r\n    );\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/comments/129741693","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/186#issuecomment-129741693","issue_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/186","id":129741693,"user":{"login":"yannickcr","id":13209,"avatar_url":"https://avatars.githubusercontent.com/u/13209?v=3","gravatar_id":"","url":"https://api.github.com/users/yannickcr","html_url":"https://github.com/yannickcr","followers_url":"https://api.github.com/users/yannickcr/followers","following_url":"https://api.github.com/users/yannickcr/following{/other_user}","gists_url":"https://api.github.com/users/yannickcr/gists{/gist_id}","starred_url":"https://api.github.com/users/yannickcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yannickcr/subscriptions","organizations_url":"https://api.github.com/users/yannickcr/orgs","repos_url":"https://api.github.com/users/yannickcr/repos","events_url":"https://api.github.com/users/yannickcr/events{/privacy}","received_events_url":"https://api.github.com/users/yannickcr/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T07:39:06Z","updated_at":"2015-08-11T07:39:06Z","body":"Hi, the [no-unknown-property](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-unknown-property.md) rule handle this. It also warn you for the other HTML attributes that are different in JSX (like `for` -> `htmlFor`, `colspan` -> `colSpan`, etc.)."}}