{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/babel-jscs/issues/12","labels_url":"https://api.github.com/repos/jscs-dev/babel-jscs/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/babel-jscs/issues/12/comments","events_url":"https://api.github.com/repos/jscs-dev/babel-jscs/issues/12/events","html_url":"https://github.com/jscs-dev/babel-jscs/issues/12","id":94194842,"number":12,"title":"JSX and validateQuoteMarks issue","user":{"login":"sebastienbarre","id":329967,"avatar_url":"https://avatars.githubusercontent.com/u/329967?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastienbarre","html_url":"https://github.com/sebastienbarre","followers_url":"https://api.github.com/users/sebastienbarre/followers","following_url":"https://api.github.com/users/sebastienbarre/following{/other_user}","gists_url":"https://api.github.com/users/sebastienbarre/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienbarre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienbarre/subscriptions","organizations_url":"https://api.github.com/users/sebastienbarre/orgs","repos_url":"https://api.github.com/users/sebastienbarre/repos","events_url":"https://api.github.com/users/sebastienbarre/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienbarre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jscs-dev/babel-jscs/labels/jscs","name":"jscs","color":"fbca04"},{"url":"https://api.github.com/repos/jscs-dev/babel-jscs/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-10T02:05:13Z","updated_at":"2015-07-10T03:15:05Z","closed_at":null,"body":"First, thanks for the great work. I just switched from using `esprima-fb` to `babel-jscs` (with `jscs-dev/node-jscs#master`). I'm experiencing some issues with React/JSX code:\r\n```\r\nclass CardHeader extends PureRender {\r\n  render() {\r\n    return <div className=\"flex-card__header\">{this.props.children}</div>;\r\n  }\r\n}\r\n```\r\nMore specifically, `validateQuoteMarks` is being triggered (even if I set it to `true`):\r\n```\r\nvalidateQuoteMarks: Invalid quote mark found at src/js/components/CardHeader.react.js :\r\n     6 |class CardHeader extends PureRender {\r\n     7 |  render() {\r\n     8 |    return <div className=\"flex-card__header\">{this.props.children}</div>;\r\n----------------------------------^\r\n```\r\nI'm using single quotes in my JavaScript, but quotes in JSX, per customary.\r\nI've ESLint and babel-eslint at the same time, but not issue there.\r\nAny hints?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/jscs-dev/babel-jscs/issues/comments/120210909","html_url":"https://github.com/jscs-dev/babel-jscs/issues/12#issuecomment-120210909","issue_url":"https://api.github.com/repos/jscs-dev/babel-jscs/issues/12","id":120210909,"user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T03:15:05Z","updated_at":"2015-07-10T03:15:05Z","body":"The recent commit was actually to fix the rule because it wasn't erroring at all. You actually can disable any rules through putting `null` not false. Should be in the docs now"}}