{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/10035","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/10035/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/10035/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/10035/events","html_url":"https://github.com/eslint/eslint/issues/10035","id":301266121,"number":10035,"title":"eslint-disable-line not work","user":{"login":"youngpink","id":18134687,"avatar_url":"https://avatars0.githubusercontent.com/u/18134687?v=4","gravatar_id":"","url":"https://api.github.com/users/youngpink","html_url":"https://github.com/youngpink","followers_url":"https://api.github.com/users/youngpink/followers","following_url":"https://api.github.com/users/youngpink/following{/other_user}","gists_url":"https://api.github.com/users/youngpink/gists{/gist_id}","starred_url":"https://api.github.com/users/youngpink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngpink/subscriptions","organizations_url":"https://api.github.com/users/youngpink/orgs","repos_url":"https://api.github.com/users/youngpink/repos","events_url":"https://api.github.com/users/youngpink/events{/privacy}","received_events_url":"https://api.github.com/users/youngpink/received_events","type":"User","site_admin":false},"labels":[{"id":246711855,"url":"https://api.github.com/repos/eslint/eslint/labels/question","name":"question","color":"d4c5f9","default":true},{"id":589339326,"url":"https://api.github.com/repos/eslint/eslint/labels/works%20as%20intended","name":"works as intended","color":"dddddd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-01T03:31:27Z","updated_at":"2018-03-01T04:26:54Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n    ESLint adheres to the [JS Foundation Code of Conduct](https://js.foundation/community/code-of-conduct).\r\n\r\n    This template is for bug reports. If you are here for another reason, please see below:\r\n\r\n    1. To propose a new rule: https://eslint.org/docs/developer-guide/contributing/new-rules\r\n    2. To request a rule change: https://eslint.org/docs/developer-guide/contributing/rule-changes\r\n    3. To request a change that is not a bug fix, rule change, or new rule: https://eslint.org/docs/developer-guide/contributing/changes\r\n    4. If you have any questions, please stop by our chatroom: https://gitter.im/eslint/eslint\r\n\r\n    Note that leaving sections blank will make it difficult for us to troubleshoot and we may have to close the issue.\r\n-->\r\n\r\n**Tell us about your environment**\r\n\r\n* **ESLint Version: 3.19.0**\r\n* **Node Version: 6.9.1**\r\n* **npm Version: 3.10.8**\r\n\r\n**What parser (default, Babel-ESLint, etc.) are you using?**\r\ndefault\r\n**Please show your full configuration:**\r\n\r\n<details>\r\n<summary>Configuration</summary>\r\n<!-- Paste your configuration below: -->\r\n```js\r\n{\r\n  \"extends\": \"airbnb\",\r\n  \"settings\": {\r\n    \"import/resolver\": {\r\n      \"node\": {\r\n        \"extensions\": [\".js\", \".ios.js\", \".android.js\"]\r\n      }\r\n    }\r\n  },\r\n  \"rules\": {\r\n    \"react/jsx-filename-extension\": [1, { \"extensions\": [\".js\", \".jsx\"] }],\r\n    \"import/no-unresolved\": [2, { \"ignore\": [\".png\"] }],\r\n    \"no-underscore-dangle\": [0],\r\n    \"react/forbid-prop-types\": [0],\r\n    \"react/no-unused-prop-types\": [2, { \"skipShapeProps\": true }],\r\n    \"import/prefer-default-export\": [0],\r\n    \"class-methods-use-this\": [0],\r\n    \"no-use-before-define\": \"off\",\r\n    \"consistent-return\": [0]\r\n  },\r\n  \"env\": {\r\n    \"jest\": true\r\n  }\r\n```\r\n</details>\r\n\r\n**What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.**\r\n\r\n<!-- Paste the source code below: -->\r\n```js\r\n...\r\n         <RowPanel      \r\n            onPress={() => Actions.vehicleSelect({   \r\n              initialVehicle: {\r\n                ...vehicleInfo,\r\n                class: vehicleInfo.class,\r\n              },\r\n            })}\r\n          />  // eslint-disable-line\r\n...\r\n```\r\n\r\n<!-- Paste the command you used to run ESLint: -->\r\n```bash\r\nnpm run lint\r\n```\r\n\r\n**What did you expect to happen?**\r\nno errors\r\n**What actually happened? Please include the actual, raw output from ESLint.**\r\n  266:12  error  Parsing error: Unexpected token >"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/369470503","html_url":"https://github.com/eslint/eslint/issues/10035#issuecomment-369470503","issue_url":"https://api.github.com/repos/eslint/eslint/issues/10035","id":369470503,"user":{"login":"not-an-aardvark","id":11638619,"avatar_url":"https://avatars2.githubusercontent.com/u/11638619?v=4","gravatar_id":"","url":"https://api.github.com/users/not-an-aardvark","html_url":"https://github.com/not-an-aardvark","followers_url":"https://api.github.com/users/not-an-aardvark/followers","following_url":"https://api.github.com/users/not-an-aardvark/following{/other_user}","gists_url":"https://api.github.com/users/not-an-aardvark/gists{/gist_id}","starred_url":"https://api.github.com/users/not-an-aardvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/not-an-aardvark/subscriptions","organizations_url":"https://api.github.com/users/not-an-aardvark/orgs","repos_url":"https://api.github.com/users/not-an-aardvark/repos","events_url":"https://api.github.com/users/not-an-aardvark/events{/privacy}","received_events_url":"https://api.github.com/users/not-an-aardvark/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T04:26:54Z","updated_at":"2018-03-01T04:26:54Z","author_association":"OWNER","body":"You could do something like this:\r\n\r\n```js\r\n         <RowPanel      \r\n            onPress={() => Actions.vehicleSelect({   \r\n              initialVehicle: {\r\n                ...vehicleInfo,\r\n                class: vehicleInfo.class,\r\n              },\r\n            }) /* eslint-disable */}\r\n          />\r\n          {/* eslint-enable */}\r\n```"}}
{"actor":{"display_login":"not-an-aardvark"}}