{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4585","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4585/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4585/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4585/events","html_url":"https://github.com/eslint/eslint/issues/4585","id":119793141,"number":4585,"title":"Add third option \"no-paren\" to space-after-keywords","user":{"login":"matoilic","id":18171,"avatar_url":"https://avatars.githubusercontent.com/u/18171?v=3","gravatar_id":"","url":"https://api.github.com/users/matoilic","html_url":"https://github.com/matoilic","followers_url":"https://api.github.com/users/matoilic/followers","following_url":"https://api.github.com/users/matoilic/following{/other_user}","gists_url":"https://api.github.com/users/matoilic/gists{/gist_id}","starred_url":"https://api.github.com/users/matoilic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matoilic/subscriptions","organizations_url":"https://api.github.com/users/matoilic/orgs","repos_url":"https://api.github.com/users/matoilic/repos","events_url":"https://api.github.com/users/matoilic/events{/privacy}","received_events_url":"https://api.github.com/users/matoilic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-01T19:48:47Z","updated_at":"2015-12-01T19:48:48Z","closed_at":null,"body":"A common style for spaces after keywords is to only require them if the keyword is not followed by parentheses. This should be supported out of the box by eslint.\r\n\r\nGood\r\n```javascript\r\nif(expression) { } else { }\r\n```\r\n\r\nBad\r\n```javascript\r\nif (expression) { } else { }\r\n```\r\n\r\nBad\r\n```javascript\r\nif(expression) { }else{ }\r\n```\r\n\r\n#4561 introduces a \"no-paren\" options to the space-after-keywords rule."},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/161075884","html_url":"https://github.com/eslint/eslint/issues/4585#issuecomment-161075884","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4585","id":161075884,"user":{"login":"eslintbot","id":13383618,"avatar_url":"https://avatars.githubusercontent.com/u/13383618?v=3","gravatar_id":"","url":"https://api.github.com/users/eslintbot","html_url":"https://github.com/eslintbot","followers_url":"https://api.github.com/users/eslintbot/followers","following_url":"https://api.github.com/users/eslintbot/following{/other_user}","gists_url":"https://api.github.com/users/eslintbot/gists{/gist_id}","starred_url":"https://api.github.com/users/eslintbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eslintbot/subscriptions","organizations_url":"https://api.github.com/users/eslintbot/orgs","repos_url":"https://api.github.com/users/eslintbot/repos","events_url":"https://api.github.com/users/eslintbot/events{/privacy}","received_events_url":"https://api.github.com/users/eslintbot/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T19:48:48Z","updated_at":"2015-12-01T19:48:48Z","body":"@matoilic Thanks for the issue! If you're reporting a bug, please be sure to include:\n\n1. The version of ESLint you are using (run `eslint -v`)\n2. What you did (the source code and ESLint configuration)\n3. The actual ESLint output complete with numbers\n4. What you expected to happen instead\n\nRequesting a new rule? Please see [Proposing a New Rule](http://eslint.org/docs/developer-guide/contributing/new-rules) for instructions."}}