{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/9294","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/9294/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/9294/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/9294/events","html_url":"https://github.com/eslint/eslint/issues/9294","id":257210084,"number":9294,"title":"// vs /**/","user":{"login":"xahon","id":18731681,"avatar_url":"https://avatars3.githubusercontent.com/u/18731681?v=4","gravatar_id":"","url":"https://api.github.com/users/xahon","html_url":"https://github.com/xahon","followers_url":"https://api.github.com/users/xahon/followers","following_url":"https://api.github.com/users/xahon/following{/other_user}","gists_url":"https://api.github.com/users/xahon/gists{/gist_id}","starred_url":"https://api.github.com/users/xahon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xahon/subscriptions","organizations_url":"https://api.github.com/users/xahon/orgs","repos_url":"https://api.github.com/users/xahon/repos","events_url":"https://api.github.com/users/xahon/events{/privacy}","received_events_url":"https://api.github.com/users/xahon/received_events","type":"User","site_admin":false},"labels":[{"id":589339326,"url":"https://api.github.com/repos/eslint/eslint/labels/works%20as%20intended","name":"works as intended","color":"dddddd","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-12T23:07:25Z","updated_at":"2017-09-16T11:35:42Z","closed_at":"2017-09-16T05:15:48Z","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 reporting a bug, please continue on. If you are here for another reason, please see below:\r\n\r\n    1. To propose a new rule: http://eslint.org/docs/developer-guide/contributing/new-rules\r\n    2. To request a change: http://eslint.org/docs/developer-guide/contributing/changes\r\n    3. 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:** 7.10.1\r\n* **npm Version:** 4.2.0\r\n\r\n**What parser (default, Babel-ESLint, etc.) are you using?**\r\nbabel-eslint 7.2.3\r\n\r\n**Please show your full configuration:**\r\n\r\n<details>\r\n<summary>Configuration</summary>\r\n\r\n<!-- Paste your configuration below: -->\r\n```js\r\nmodule.exports = {\r\n  \"parser\": \"babel-eslint\",\r\n  \"env\": {\r\n    \"browser\": true\r\n  },\r\n  \"plugins\": [\r\n    \"react\",\r\n    \"react-native\"\r\n  ],\r\n  \"extends\": [\r\n    \"eslint:recommended\",\r\n    \"plugin:react/recommended\",\r\n    \"plugin:react-native/all\",\r\n    \"standard\"\r\n  ],\r\n  \"parserOptions\": {\r\n    \"ecmaFeatures\": {\r\n      \"jsx\": true\r\n    }\r\n  },\r\n  \"rules\": {\r\n    \"no-mixed-operators\": 0,\r\n    \"operator-linebreak\": 0\r\n  }\r\n};\r\n```\r\n\r\n</details>\r\n\r\n**What did you do? Please include the actual source code causing the issue.**\r\n\r\n<!-- Paste the source code below: -->\r\nExample that dont work\r\n```js\r\n// eslint no-console: 0\r\nconsole.log('something')\r\n```\r\nExample that works\r\n```js\r\n/* eslint no-console: 0 */\r\nconsole.log('something')\r\n```\r\n\r\n**What did you expect to happen?**\r\nI expected that // will work same as /**/ because it's comment too\r\n\r\n**What actually happened? Please include the actual, raw output from ESLint.**\r\nEslint error: no-console\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/329963170","html_url":"https://github.com/eslint/eslint/issues/9294#issuecomment-329963170","issue_url":"https://api.github.com/repos/eslint/eslint/issues/9294","id":329963170,"user":{"login":"xahon","id":18731681,"avatar_url":"https://avatars3.githubusercontent.com/u/18731681?v=4","gravatar_id":"","url":"https://api.github.com/users/xahon","html_url":"https://github.com/xahon","followers_url":"https://api.github.com/users/xahon/followers","following_url":"https://api.github.com/users/xahon/following{/other_user}","gists_url":"https://api.github.com/users/xahon/gists{/gist_id}","starred_url":"https://api.github.com/users/xahon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xahon/subscriptions","organizations_url":"https://api.github.com/users/xahon/orgs","repos_url":"https://api.github.com/users/xahon/repos","events_url":"https://api.github.com/users/xahon/events{/privacy}","received_events_url":"https://api.github.com/users/xahon/received_events","type":"User","site_admin":false},"created_at":"2017-09-16T11:35:42Z","updated_at":"2017-09-16T11:35:42Z","author_association":"NONE","body":"unintuitive"}}
{"actor":{"display_login":"xahon"}}