{"action":"closed","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4133","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4133/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4133/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4133/events","html_url":"https://github.com/eslint/eslint/issues/4133","id":111320551,"number":4133,"title":"Enhancement: Symmetric spaced comment","user":{"login":"andy-hanson","id":5387404,"avatar_url":"https://avatars.githubusercontent.com/u/5387404?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-hanson","html_url":"https://github.com/andy-hanson","followers_url":"https://api.github.com/users/andy-hanson/followers","following_url":"https://api.github.com/users/andy-hanson/following{/other_user}","gists_url":"https://api.github.com/users/andy-hanson/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-hanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-hanson/subscriptions","organizations_url":"https://api.github.com/users/andy-hanson/orgs","repos_url":"https://api.github.com/users/andy-hanson/repos","events_url":"https://api.github.com/users/andy-hanson/events{/privacy}","received_events_url":"https://api.github.com/users/andy-hanson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2015-10-14T04:13:26Z","updated_at":"2016-07-13T15:05:43Z","closed_at":"2016-07-13T15:05:43Z","body":"I've noticed that this code:\r\n\r\n\t/* spaced-comment*/\r\n\r\ndoesn't trigger a warning.\r\n\r\nHere's my package.json config (eslint 1.6.0):\r\n\r\n\t{\r\n\t\t\"eslintConfig\": {\r\n\t\t\t\"rules\": {\r\n\t\t\t\t\"spaced-comment\": 1\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\nThis isn't a bug; the rule does say \"Requires or disallows a whitespace (space or tab) beginning a comment\".\r\nI want to check for spaces on both sides of the comment.\r\n\r\nCould there be an option to make that code trigger a warning `Expected space or tab before */ in comment`,\r\nso that only the code below would pass?\r\n\r\n\t/* spaced-comment */\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27394494-enhancement-symmetric-spaced-comment?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}
{"actor":{"display_login":"nzakas"}}