{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1161","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1161/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1161/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1161/events","html_url":"https://github.com/jscs-dev/node-jscs/issues/1161","id":60646383,"number":1161,"title":"\"requireSpacesInsideArrayBrackets\" fails to notice a comment","user":{"login":"Reinmar","id":156149,"avatar_url":"https://avatars.githubusercontent.com/u/156149?v=3","gravatar_id":"","url":"https://api.github.com/users/Reinmar","html_url":"https://github.com/Reinmar","followers_url":"https://api.github.com/users/Reinmar/followers","following_url":"https://api.github.com/users/Reinmar/following{/other_user}","gists_url":"https://api.github.com/users/Reinmar/gists{/gist_id}","starred_url":"https://api.github.com/users/Reinmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reinmar/subscriptions","organizations_url":"https://api.github.com/users/Reinmar/orgs","repos_url":"https://api.github.com/users/Reinmar/repos","events_url":"https://api.github.com/users/Reinmar/events{/privacy}","received_events_url":"https://api.github.com/users/Reinmar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-11T11:45:13Z","updated_at":"2015-03-12T01:49:40Z","closed_at":null,"body":"We use:\r\n\r\n```\r\n\"requireSpacesInsideArrayBrackets\": \"all\",\r\n```\r\n\r\nIn JSCS 1.10.0 the following code started throwing errors:\r\n\r\n```\r\nvar keystrokes = [ CKEDITOR.CTRL + 90 /*Z*/, CKEDITOR.CTRL + 89 /*Y*/, CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/ ]\r\n```\r\n\r\nThe error:\r\n\r\n```\r\nOne space required before closing bracket at plugins/undo/plugin.js :\r\n    12 |\r\n    13 |( function() {\r\n    14 | var keystrokes = [ CKEDITOR.CTRL + 90 /*Z*/, CKEDITOR.CTRL + 89 /*Y*/, CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/ ],\r\n-------------------------------------------------------------------------------------------------------------------^\r\n    15 |  backspaceOrDelete = { 8: 1, 46: 1 };\r\n```\r\n\r\nI understand that it's a tricky case, but for some reason it worked before, so perhaps it could work again. \r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9435685-requirespacesinsidearraybrackets-fails-to-notice-a-comment?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/comments/78409785","html_url":"https://github.com/jscs-dev/node-jscs/issues/1161#issuecomment-78409785","issue_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1161","id":78409785,"user":{"login":"zxqfox","id":677518,"avatar_url":"https://avatars.githubusercontent.com/u/677518?v=3","gravatar_id":"","url":"https://api.github.com/users/zxqfox","html_url":"https://github.com/zxqfox","followers_url":"https://api.github.com/users/zxqfox/followers","following_url":"https://api.github.com/users/zxqfox/following{/other_user}","gists_url":"https://api.github.com/users/zxqfox/gists{/gist_id}","starred_url":"https://api.github.com/users/zxqfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxqfox/subscriptions","organizations_url":"https://api.github.com/users/zxqfox/orgs","repos_url":"https://api.github.com/users/zxqfox/repos","events_url":"https://api.github.com/users/zxqfox/events{/privacy}","received_events_url":"https://api.github.com/users/zxqfox/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T01:49:40Z","updated_at":"2015-03-12T01:49:40Z","body":"Ah, :+1: for adding `includeComments`."}}