{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/7461","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/7461/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/7461/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/7461/events","html_url":"https://github.com/eslint/eslint/pull/7461","id":185586863,"number":7461,"title":"Fix: Add support for escape char in JSX.","user":{"login":"sstern6","id":10355544,"avatar_url":"https://avatars.githubusercontent.com/u/10355544?v=3","gravatar_id":"","url":"https://api.github.com/users/sstern6","html_url":"https://github.com/sstern6","followers_url":"https://api.github.com/users/sstern6/followers","following_url":"https://api.github.com/users/sstern6/following{/other_user}","gists_url":"https://api.github.com/users/sstern6/gists{/gist_id}","starred_url":"https://api.github.com/users/sstern6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstern6/subscriptions","organizations_url":"https://api.github.com/users/sstern6/orgs","repos_url":"https://api.github.com/users/sstern6/repos","events_url":"https://api.github.com/users/sstern6/events{/privacy}","received_events_url":"https://api.github.com/users/sstern6/received_events","type":"User","site_admin":false},"labels":[{"id":131106229,"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc","default":false},{"id":45711350,"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929","default":true},{"id":360800342,"url":"https://api.github.com/repos/eslint/eslint/labels/CLA:%20Valid","name":"CLA: Valid","color":"007700","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":7,"created_at":"2016-10-27T06:51:27Z","updated_at":"2016-10-30T22:23:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eslint/eslint/pulls/7461","html_url":"https://github.com/eslint/eslint/pull/7461","diff_url":"https://github.com/eslint/eslint/pull/7461.diff","patch_url":"https://github.com/eslint/eslint/pull/7461.patch"},"body":"**What is the purpose of this pull request? (put an \"X\" next to item)**\r\n\r\n[ ] Documentation update\r\n[x] 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[ ] 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<!--\r\n    If the item you've checked above has a template, please paste the template questions below and answer them. (If this pull request is addressing an issue, you can just paste a link to the issue here instead.)\r\n-->\r\n\r\n<!--\r\n    Please ensure your pull request is ready:\r\n\r\n    - Read the pull request guide (http://eslint.org/docs/developer-guide/contributing/pull-requests)\r\n    - Include tests for this change\r\n    - Update documentation for this change (if appropriate)\r\n-->\r\n\r\n<!--\r\n    The following is required for all pull requests:\r\n-->\r\n\r\n**What changes did you make? (Give an overview)**\r\nAdditional spaces were being accounted for in the logic, I implemented a fix, trimming the escape character to have an accurate representation of the escapes given the current logic.\r\n\r\n\r\n**Is there anything you'd like reviewers to focus on?**\r\nMy implementation, is there a better way to remove whitespace that may be more efficient?\r\nAlso, in the JSDOC for the function `function validate(escapes, node, match) {`, the JSDocs state, `* @param {string} match - string slice to validate.`.  From what I have seen isnt match an array, not a string?\r\n\r\nThis PR fixes: https://github.com/eslint/eslint/issues/7460\r\n\r\nThank you\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/257184056","html_url":"https://github.com/eslint/eslint/pull/7461#issuecomment-257184056","issue_url":"https://api.github.com/repos/eslint/eslint/issues/7461","id":257184056,"user":{"login":"sstern6","id":10355544,"avatar_url":"https://avatars.githubusercontent.com/u/10355544?v=3","gravatar_id":"","url":"https://api.github.com/users/sstern6","html_url":"https://github.com/sstern6","followers_url":"https://api.github.com/users/sstern6/followers","following_url":"https://api.github.com/users/sstern6/following{/other_user}","gists_url":"https://api.github.com/users/sstern6/gists{/gist_id}","starred_url":"https://api.github.com/users/sstern6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstern6/subscriptions","organizations_url":"https://api.github.com/users/sstern6/orgs","repos_url":"https://api.github.com/users/sstern6/repos","events_url":"https://api.github.com/users/sstern6/events{/privacy}","received_events_url":"https://api.github.com/users/sstern6/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T22:23:20Z","updated_at":"2016-10-30T22:23:20Z","body":"@mysticatea re-pushed with updated changes.  Implemented the logic you recommended.  Please let me know if theres anything else I have missed or need to add.\r\n\r\nThanks"}}
{"actor":{"display_login":"sstern6"}}