{"action":"closed","issue":{"url":"https://api.github.com/repos/babel/babel-eslint/issues/216","labels_url":"https://api.github.com/repos/babel/babel-eslint/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel-eslint/issues/216/comments","events_url":"https://api.github.com/repos/babel/babel-eslint/issues/216/events","html_url":"https://github.com/babel/babel-eslint/issues/216","id":119314205,"number":216,"title":"[react] Bug with <div className=\"\">","user":{"login":"Yamakaky","id":1327378,"avatar_url":"https://avatars.githubusercontent.com/u/1327378?v=3","gravatar_id":"","url":"https://api.github.com/users/Yamakaky","html_url":"https://github.com/Yamakaky","followers_url":"https://api.github.com/users/Yamakaky/followers","following_url":"https://api.github.com/users/Yamakaky/following{/other_user}","gists_url":"https://api.github.com/users/Yamakaky/gists{/gist_id}","starred_url":"https://api.github.com/users/Yamakaky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yamakaky/subscriptions","organizations_url":"https://api.github.com/users/Yamakaky/orgs","repos_url":"https://api.github.com/users/Yamakaky/repos","events_url":"https://api.github.com/users/Yamakaky/events{/privacy}","received_events_url":"https://api.github.com/users/Yamakaky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/babel/babel-eslint/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-28T19:30:23Z","updated_at":"2015-11-29T13:29:22Z","closed_at":"2015-11-29T13:29:22Z","body":"Previously: https://github.com/yannickcr/eslint-plugin-react/issues/335 https://github.com/eslint/eslint/issues/4568\r\nThe following file issues an error.\r\n\r\ntest.js:\r\n```\r\n<div className=\"\"></div>\r\n```\r\n\r\nerror:\r\n```\r\n/tmp/test/node_modules/eslint/lib/rules/no-irregular-whitespace.js:51\r\n            if (node.raw.match(irregularWhitespace) || node.raw.match(irregularLineTerminators)) {\r\n                        ^\r\n\r\nTypeError: Cannot read property \"match\" of null\r\n    at EventEmitter.removeInvalidNodeErrors (/tmp/test/node_modules/eslint/lib/rules/no-irregular-whitespace.js:51:25)\r\n    at emitOne (events.js:82:20)\r\n    at EventEmitter.emit (events.js:169:7)\r\n    at NodeEventGenerator.enterNode (/tmp/test/node_modules/eslint/lib/util/node-event-generator.js:42:22)\r\n    at CommentEventGenerator.enterNode (/tmp/test/node_modules/eslint/lib/util/comment-event-generator.js:98:23)\r\n    at Controller.controller.traverse.enter (/tmp/test/node_modules/eslint/lib/eslint.js:767:36)\r\n    at Controller.__execute (/tmp/test/node_modules/estraverse/estraverse.js:397:31)\r\n    at Controller.traverse (/tmp/test/node_modules/estraverse/estraverse.js:495:28)\r\n    at EventEmitter.module.exports.api.verify (/tmp/test/node_modules/eslint/lib/eslint.js:764:24)\r\n    at processText (/tmp/test/node_modules/eslint/lib/cli-engine.js:230:27)\r\n\r\n```\r\n\r\ninstalled packages: babel babel-eslint eslint eslint-plugin-react\r\n\r\neslintrc:\r\n```\r\nparser: babel-eslint\r\nrules:\r\n  indent:\r\n    - 2\r\n    - 4\r\n  quotes:\r\n    - 2\r\n    - double\r\n  linebreak-style:\r\n    - 2\r\n    - unix\r\n  semi:\r\n    - 2\r\n    - always\r\nenv:\r\n  es6: true\r\n  browser: true\r\nextends: 'eslint:recommended'\r\necmaFeatures:\r\n  jsx: true\r\n  experimentalObjectRestSpread: true\r\nplugins:\r\n  - react\r\n```"}}