{"action":"created","issue":{"url":"https://api.github.com/repos/feross/eslint-config-standard/issues/27","repository_url":"https://api.github.com/repos/feross/eslint-config-standard","labels_url":"https://api.github.com/repos/feross/eslint-config-standard/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/feross/eslint-config-standard/issues/27/comments","events_url":"https://api.github.com/repos/feross/eslint-config-standard/issues/27/events","html_url":"https://github.com/feross/eslint-config-standard/issues/27","id":138231382,"number":27,"title":"Change jsx-quotes to reflect usage in React?","user":{"login":"pluma","id":1280922,"avatar_url":"https://avatars.githubusercontent.com/u/1280922?v=3","gravatar_id":"","url":"https://api.github.com/users/pluma","html_url":"https://github.com/pluma","followers_url":"https://api.github.com/users/pluma/followers","following_url":"https://api.github.com/users/pluma/following{/other_user}","gists_url":"https://api.github.com/users/pluma/gists{/gist_id}","starred_url":"https://api.github.com/users/pluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluma/subscriptions","organizations_url":"https://api.github.com/users/pluma/orgs","repos_url":"https://api.github.com/users/pluma/repos","events_url":"https://api.github.com/users/pluma/events{/privacy}","received_events_url":"https://api.github.com/users/pluma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/feross/eslint-config-standard/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-03T16:44:36Z","updated_at":"2016-03-09T01:15:56Z","closed_at":null,"body":"I see that jsx-quotes is set to `prefer-single` (unlike the eslint default). While that would be seemingly consistent with the JS equivalent, the overwhelming majority of JSX out there uses double quotes because that is the preferred convention for XML and HTML (which JSX mimics).\r\n\r\nWould you be inclined to change this rule?"},"comment":{"url":"https://api.github.com/repos/feross/eslint-config-standard/issues/comments/194053576","html_url":"https://github.com/feross/eslint-config-standard/issues/27#issuecomment-194053576","issue_url":"https://api.github.com/repos/feross/eslint-config-standard/issues/27","id":194053576,"user":{"login":"pluma","id":1280922,"avatar_url":"https://avatars.githubusercontent.com/u/1280922?v=3","gravatar_id":"","url":"https://api.github.com/users/pluma","html_url":"https://github.com/pluma","followers_url":"https://api.github.com/users/pluma/followers","following_url":"https://api.github.com/users/pluma/following{/other_user}","gists_url":"https://api.github.com/users/pluma/gists{/gist_id}","starred_url":"https://api.github.com/users/pluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluma/subscriptions","organizations_url":"https://api.github.com/users/pluma/orgs","repos_url":"https://api.github.com/users/pluma/repos","events_url":"https://api.github.com/users/pluma/events{/privacy}","received_events_url":"https://api.github.com/users/pluma/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T01:15:56Z","updated_at":"2016-03-09T01:15:56Z","body":"Technically the syntax `jsx-quotes` applies to is a syntactic shorthand (similar to the boolean properties setting):\r\n\r\n`<Comp x=\"str\"/>` is to `<Comp x={'str'}/>` as\r\n\r\n`<Comp y/>` is to `<Comp y={true}/>`.\r\n\r\nIt's not quite the same thing as a JS string literal. The entire point of having that shorthand (as with the boolean shorthand) is to make it look more like HTML."}}