{"action":"opened","issue":{"url":"https://api.github.com/repos/feross/standard/issues/676","repository_url":"https://api.github.com/repos/feross/standard","labels_url":"https://api.github.com/repos/feross/standard/issues/676/labels{/name}","comments_url":"https://api.github.com/repos/feross/standard/issues/676/comments","events_url":"https://api.github.com/repos/feross/standard/issues/676/events","html_url":"https://github.com/feross/standard/issues/676","id":188125685,"number":676,"title":"Empty line between blocks","user":{"login":"menzow","id":5744434,"avatar_url":"https://avatars.githubusercontent.com/u/5744434?v=3","gravatar_id":"","url":"https://api.github.com/users/menzow","html_url":"https://github.com/menzow","followers_url":"https://api.github.com/users/menzow/followers","following_url":"https://api.github.com/users/menzow/following{/other_user}","gists_url":"https://api.github.com/users/menzow/gists{/gist_id}","starred_url":"https://api.github.com/users/menzow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menzow/subscriptions","organizations_url":"https://api.github.com/users/menzow/orgs","repos_url":"https://api.github.com/users/menzow/repos","events_url":"https://api.github.com/users/menzow/events{/privacy}","received_events_url":"https://api.github.com/users/menzow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-08T22:49:36Z","updated_at":"2016-11-08T22:49:36Z","closed_at":null,"body":"Hey,\r\n\r\nThe rules about empty blank lines currently say:  \"Multiple blank lines not allowed.\"\r\n\r\nFrom this I assume that a single blank line is allowed:\r\n```\r\nvar a = 'foo'\r\n\r\nvar b = 'bar'\r\n```\r\n\r\nI can't find any specification for this, and when running `standard --fix` it does remove the blank lines.\r\n\r\nI think the goal is disallowing blank lines within blocks, but require a single blank line between blocks. If this is correct, please specify it in the rules.\r\n\r\n```\r\n// bad\r\nfunction foo(){\r\n  var foo = 'foo'\r\n\r\n  return foo\r\n}\r\nfunction bar() {\r\n  return \"foo\"\r\n\r\n  return foo\r\n}\r\n\r\n//good\r\nfunction foo(){\r\n  var foo = 'foo'\r\n  return foo\r\n}\r\n\r\nfunction bar() {\r\n  return \"foo\"\r\n  return foo\r\n}\r\n```"}}
{"actor":{"display_login":"menzow"}}