{"action":"closed","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1885","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1885/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1885/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1885/events","html_url":"https://github.com/jscs-dev/node-jscs/issues/1885","id":112118532,"number":1885,"title":"`return` should not be in the list of `spacedKeywords`, `function` also has an issue","user":{"login":"Francisc","id":699657,"avatar_url":"https://avatars.githubusercontent.com/u/699657?v=3","gravatar_id":"","url":"https://api.github.com/users/Francisc","html_url":"https://github.com/Francisc","followers_url":"https://api.github.com/users/Francisc/followers","following_url":"https://api.github.com/users/Francisc/following{/other_user}","gists_url":"https://api.github.com/users/Francisc/gists{/gist_id}","starred_url":"https://api.github.com/users/Francisc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Francisc/subscriptions","organizations_url":"https://api.github.com/users/Francisc/orgs","repos_url":"https://api.github.com/users/Francisc/repos","events_url":"https://api.github.com/users/Francisc/events{/privacy}","received_events_url":"https://api.github.com/users/Francisc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/milestones/17","html_url":"https://github.com/jscs-dev/node-jscs/milestones/2.4.0","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/milestones/17/labels","id":1356154,"number":17,"title":"2.4.0","description":"","creator":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":7,"state":"open","created_at":"2015-10-14T20:34:29Z","updated_at":"2015-10-20T01:29:10Z","due_on":"2015-10-28T04:00:00Z","closed_at":null},"comments":7,"created_at":"2015-10-19T10:36:42Z","updated_at":"2015-10-20T01:29:10Z","closed_at":"2015-10-20T01:29:10Z","body":"Hello,\r\n\r\nI'm running JSCS with this rule enabled:\r\n`disallowSpaceAfterKeywords: true`.\r\n\r\nAs such, JSCS is telling me that this:\r\n`return obj`\r\nshould be:\r\n`returnobj`.\r\n\r\nWhich is obviously invalid.\r\nI expect setting `disallowSpaceAfterKeywords` to `true` to not affect `return` statements.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27517520-return-should-not-be-in-the-list-of-spacedkeywords-function-also-has-an-issue?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>"}}