{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1524","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1524/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1524/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1524/events","html_url":"https://github.com/jscs-dev/node-jscs/issues/1524","id":94592678,"number":1524,"title":"requireSpacesInsideObjectBrackets ignores es6 destructed objects","user":{"login":"oluckyman","id":642673,"avatar_url":"https://avatars.githubusercontent.com/u/642673?v=3","gravatar_id":"","url":"https://api.github.com/users/oluckyman","html_url":"https://github.com/oluckyman","followers_url":"https://api.github.com/users/oluckyman/followers","following_url":"https://api.github.com/users/oluckyman/following{/other_user}","gists_url":"https://api.github.com/users/oluckyman/gists{/gist_id}","starred_url":"https://api.github.com/users/oluckyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oluckyman/subscriptions","organizations_url":"https://api.github.com/users/oluckyman/orgs","repos_url":"https://api.github.com/users/oluckyman/repos","events_url":"https://api.github.com/users/oluckyman/events{/privacy}","received_events_url":"https://api.github.com/users/oluckyman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/esnext","name":"esnext","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-12T19:26:30Z","updated_at":"2015-07-12T21:50:47Z","closed_at":null,"body":"test file:\r\n```\r\nimport { Map } from 'immutable';\r\nimport {List} from 'immutable';\r\n\r\nlet {z} = obj;\r\nlet { x } = obj;\r\n```\r\n.jscsrc\r\n```\r\n{\r\n  \"esnext\": true,\r\n  \"esprima\": \"esprima-fb\",\r\n  \"requireSpacesInsideObjectBrackets\": \"all\"\r\n}\r\n```\r\n`$ jscs test.js`\r\n```\r\nNo code style errors found.\r\n```\r\n`$ jscs --version`\r\n```\r\n1.13.1\r\n```\r\n\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/24205071-requirespacesinsideobjectbrackets-ignores-es6-destructed-objects?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/120764930","html_url":"https://github.com/jscs-dev/node-jscs/issues/1524#issuecomment-120764930","issue_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1524","id":120764930,"user":{"login":"markelog","id":945528,"avatar_url":"https://avatars.githubusercontent.com/u/945528?v=3","gravatar_id":"","url":"https://api.github.com/users/markelog","html_url":"https://github.com/markelog","followers_url":"https://api.github.com/users/markelog/followers","following_url":"https://api.github.com/users/markelog/following{/other_user}","gists_url":"https://api.github.com/users/markelog/gists{/gist_id}","starred_url":"https://api.github.com/users/markelog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markelog/subscriptions","organizations_url":"https://api.github.com/users/markelog/orgs","repos_url":"https://api.github.com/users/markelog/repos","events_url":"https://api.github.com/users/markelog/events{/privacy}","received_events_url":"https://api.github.com/users/markelog/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T21:50:47Z","updated_at":"2015-07-12T21:50:47Z","body":"Added check for destructive assignments, but import statements are more tricky, so i also added tests for it too - https://github.com/jscs-dev/node-jscs/blob/bc90c56791e9a552e2fa8293e9bd0d9e0af768e0/test/specs/rules/require-spaces-inside-object-brackets.js#L68\r\n\r\nIf you would like to give it try."}}