{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/9664","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/9664/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/9664/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/9664/events","html_url":"https://github.com/eslint/eslint/pull/9664","id":277621303,"number":9664,"title":"Support JSXFragment node","user":{"login":"clemmy","id":3696934,"avatar_url":"https://avatars0.githubusercontent.com/u/3696934?v=4","gravatar_id":"","url":"https://api.github.com/users/clemmy","html_url":"https://github.com/clemmy","followers_url":"https://api.github.com/users/clemmy/followers","following_url":"https://api.github.com/users/clemmy/following{/other_user}","gists_url":"https://api.github.com/users/clemmy/gists{/gist_id}","starred_url":"https://api.github.com/users/clemmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clemmy/subscriptions","organizations_url":"https://api.github.com/users/clemmy/orgs","repos_url":"https://api.github.com/users/clemmy/repos","events_url":"https://api.github.com/users/clemmy/events{/privacy}","received_events_url":"https://api.github.com/users/clemmy/received_events","type":"User","site_admin":false},"labels":[{"id":45711352,"url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":255319420,"url":"https://api.github.com/repos/eslint/eslint/labels/evaluating","name":"evaluating","color":"fef2c0","default":false},{"id":45798639,"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-11-29T03:54:03Z","updated_at":"2018-04-26T19:42:24Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/9664","html_url":"https://github.com/eslint/eslint/pull/9664","diff_url":"https://github.com/eslint/eslint/pull/9664.diff","patch_url":"https://github.com/eslint/eslint/pull/9664.patch"},"body":"**What is the purpose of this pull request? (put an \"X\" next to item)**\r\n\r\n[ ] Documentation update\r\n[ ] Bug fix ([template](https://raw.githubusercontent.com/eslint/eslint/master/templates/bug-report.md))\r\n[ ] New rule ([template](https://raw.githubusercontent.com/eslint/eslint/master/templates/rule-proposal.md))\r\n[ x ] Changes an existing rule ([template](https://raw.githubusercontent.com/eslint/eslint/master/templates/rule-change-proposal.md))\r\n[ ] Add autofixing to a rule\r\n[ ] Add a CLI option\r\n[ ] Add something to the core\r\n[ ] Other, please explain:\r\n\r\n**What changes did you make? (Give an overview)**\r\n\r\nThis is related to https://github.com/eslint/eslint/issues/9662.\r\nCurrently, when a parser, such as `babel-eslint` is used, it'll now return `JSXFragment`. This PR updates some standard rules to add some support for fragments so that `JSXFragment`s can generally be used in the place of `JSXElement`.\r\n\r\n**Current behavior example**\r\n\r\n```\r\n<>foo</>;\r\n```\r\n\r\nwarns that foo should be wrapped in quotes, using the options:\r\n\r\n```\r\n\"parser\": \"babel-eslint\",\r\n\"rules\": { \"quotes\": [ \"error\", \"single\" ] }\r\n```\r\n\r\n**Behavior with my changes**\r\n\r\n```\r\n<>foo</>;\r\n```\r\n\r\ndoesn't give any warnings!\r\n\r\n**Rationale**\r\n\r\nI'm just throwing this out here because I'm not really sure if this is a change makes sense to make in this repo at this point in time. This is only applicable when an external parser is specified. If this makes sense, then I can refine the PR. 🙂 \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/384765995","html_url":"https://github.com/eslint/eslint/pull/9664#issuecomment-384765995","issue_url":"https://api.github.com/repos/eslint/eslint/issues/9664","id":384765995,"user":{"login":"clemmy","id":3696934,"avatar_url":"https://avatars0.githubusercontent.com/u/3696934?v=4","gravatar_id":"","url":"https://api.github.com/users/clemmy","html_url":"https://github.com/clemmy","followers_url":"https://api.github.com/users/clemmy/followers","following_url":"https://api.github.com/users/clemmy/following{/other_user}","gists_url":"https://api.github.com/users/clemmy/gists{/gist_id}","starred_url":"https://api.github.com/users/clemmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clemmy/subscriptions","organizations_url":"https://api.github.com/users/clemmy/orgs","repos_url":"https://api.github.com/users/clemmy/repos","events_url":"https://api.github.com/users/clemmy/events{/privacy}","received_events_url":"https://api.github.com/users/clemmy/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T19:42:24Z","updated_at":"2018-04-26T19:42:24Z","author_association":"NONE","body":"Hi @platinumazure, sorry for the delayed response! I’ve been busy for the past few weeks and probably won’t have any time to dive into this for another couple of weeks. I’m wondering if there is currently any progress being made here or if anyone else wants to continue this work? If not, I’d be happy to pick this issue up again in a few weeks’ time. :)"}}
{"actor":{"display_login":"clemmy"}}