{"action":"closed","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/111","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/111/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/111/events","html_url":"https://github.com/jscs-dev/node-jscs/issues/111","id":24810916,"number":111,"title":"`requireSpacesInsideArrayBrackets` to ignore object literals","user":{"login":"SBoudrias","id":923865,"avatar_url":"https://avatars.githubusercontent.com/u/923865?v=3","gravatar_id":"","url":"https://api.github.com/users/SBoudrias","html_url":"https://github.com/SBoudrias","followers_url":"https://api.github.com/users/SBoudrias/followers","following_url":"https://api.github.com/users/SBoudrias/following{/other_user}","gists_url":"https://api.github.com/users/SBoudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/SBoudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBoudrias/subscriptions","organizations_url":"https://api.github.com/users/SBoudrias/orgs","repos_url":"https://api.github.com/users/SBoudrias/repos","events_url":"https://api.github.com/users/SBoudrias/events{/privacy}","received_events_url":"https://api.github.com/users/SBoudrias/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/new+rule+value","name":"new rule value","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/milestones/7","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/milestones/7/labels","id":883889,"number":7,"title":"1.10","description":"","creator":{"login":"mikesherov","id":364532,"avatar_url":"https://avatars.githubusercontent.com/u/364532?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesherov","html_url":"https://github.com/mikesherov","followers_url":"https://api.github.com/users/mikesherov/followers","following_url":"https://api.github.com/users/mikesherov/following{/other_user}","gists_url":"https://api.github.com/users/mikesherov/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesherov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesherov/subscriptions","organizations_url":"https://api.github.com/users/mikesherov/orgs","repos_url":"https://api.github.com/users/mikesherov/repos","events_url":"https://api.github.com/users/mikesherov/events{/privacy}","received_events_url":"https://api.github.com/users/mikesherov/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":21,"state":"open","created_at":"2014-11-28T20:29:54Z","updated_at":"2015-01-15T05:03:42Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2013-12-27T07:27:37Z","updated_at":"2015-01-15T05:03:42Z","closed_at":"2015-01-15T05:03:42Z","body":"Right now when setting `requireSpacesInsideArrayBrackets`, you can ignore on nested or require spaces everywhere.\r\n\r\nIt would be useful to be able to also ignore spaces if an object literal is provided, e.g.:\r\n\r\n```\r\n[{ foo: 'bar' }]\r\n[{\r\n  foo: 'bar'\r\n}, {\r\n  foo: 'bar'\r\n}]\r\n\r\n// but require\r\n[ 'foo' ]\r\n```\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Place a bounty on it!](https://www.bountysource.com/issues/2589445-requirespacesinsidearraybrackets-to-ignore-object-literals?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>"}}