{"action":"closed","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/3721","labels_url":"https://api.github.com/repos/eslint/eslint/issues/3721/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/3721/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/3721/events","html_url":"https://github.com/eslint/eslint/issues/3721","id":105857534,"number":3721,"title":"Rules: `semi-spacing` and `block-spacing` conflict on one-liner functions","user":{"login":"Cellule","id":4157103,"avatar_url":"https://avatars.githubusercontent.com/u/4157103?v=3","gravatar_id":"","url":"https://api.github.com/users/Cellule","html_url":"https://github.com/Cellule","followers_url":"https://api.github.com/users/Cellule/followers","following_url":"https://api.github.com/users/Cellule/following{/other_user}","gists_url":"https://api.github.com/users/Cellule/gists{/gist_id}","starred_url":"https://api.github.com/users/Cellule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cellule/subscriptions","organizations_url":"https://api.github.com/users/Cellule/orgs","repos_url":"https://api.github.com/users/Cellule/repos","events_url":"https://api.github.com/users/Cellule/events{/privacy}","received_events_url":"https://api.github.com/users/Cellule/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/rule","name":"rule","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"mysticatea","id":1937871,"avatar_url":"https://avatars.githubusercontent.com/u/1937871?v=3","gravatar_id":"","url":"https://api.github.com/users/mysticatea","html_url":"https://github.com/mysticatea","followers_url":"https://api.github.com/users/mysticatea/followers","following_url":"https://api.github.com/users/mysticatea/following{/other_user}","gists_url":"https://api.github.com/users/mysticatea/gists{/gist_id}","starred_url":"https://api.github.com/users/mysticatea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysticatea/subscriptions","organizations_url":"https://api.github.com/users/mysticatea/orgs","repos_url":"https://api.github.com/users/mysticatea/repos","events_url":"https://api.github.com/users/mysticatea/events{/privacy}","received_events_url":"https://api.github.com/users/mysticatea/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-09-10T17:26:27Z","updated_at":"2015-09-14T15:31:17Z","closed_at":"2015-09-14T15:31:17Z","body":"With the following rules, there is no way to have a function in one line without a conflict between the 2.\r\n```js\r\n// eslint v1.3.1\r\n/*eslint \"semi-spacing\":2*/\r\n/*eslint \"block-spacing\":[2, \"never\"]*/\r\nvar fnArr = [\r\n  function foo(){return 2;}, //4:26  error  Missing whitespace after semicolon  semi-spacing\r\n  function foo2(){return 2; }, //5:29  error  Unexpected space(s) before \"}\"      block-spacing\r\n  function foo3(){\r\n    return 2; // No errors, but this is not what I am trying to do\r\n  }\r\n]\r\n```\r\n\r\nIs there a way to have both rule and a function declaration in one line ?"}}