{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1620","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1620/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1620/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1620/events","html_url":"https://github.com/jscs-dev/node-jscs/pull/1620","id":99143269,"number":1620,"title":"requireBlocksOnNewline: Add object option to handle comments","user":{"login":"oredi","id":637249,"avatar_url":"https://avatars.githubusercontent.com/u/637249?v=3","gravatar_id":"","url":"https://api.github.com/users/oredi","html_url":"https://github.com/oredi","followers_url":"https://api.github.com/users/oredi/followers","following_url":"https://api.github.com/users/oredi/following{/other_user}","gists_url":"https://api.github.com/users/oredi/gists{/gist_id}","starred_url":"https://api.github.com/users/oredi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oredi/subscriptions","organizations_url":"https://api.github.com/users/oredi/orgs","repos_url":"https://api.github.com/users/oredi/repos","events_url":"https://api.github.com/users/oredi/events{/privacy}","received_events_url":"https://api.github.com/users/oredi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-05T07:38:46Z","updated_at":"2015-08-10T12:24:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/pulls/1620","html_url":"https://github.com/jscs-dev/node-jscs/pull/1620","diff_url":"https://github.com/jscs-dev/node-jscs/pull/1620.diff","patch_url":"https://github.com/jscs-dev/node-jscs/pull/1620.patch"},"body":"Add object option { includeComments: true } and { includeComments: true,\r\nminStatements: 1} that allows the rule to turn on or off the inclusion of\r\ncomments as part of the block being checked using exisitng rules. A new\r\nconfig option is introduced to maintain compatability with existing code like\r\nthe crockford preset which ignores comments.\r\n\r\nFixes #1417"},"comment":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/comments/129426172","html_url":"https://github.com/jscs-dev/node-jscs/pull/1620#issuecomment-129426172","issue_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1620","id":129426172,"user":{"login":"zxqfox","id":677518,"avatar_url":"https://avatars.githubusercontent.com/u/677518?v=3","gravatar_id":"","url":"https://api.github.com/users/zxqfox","html_url":"https://github.com/zxqfox","followers_url":"https://api.github.com/users/zxqfox/followers","following_url":"https://api.github.com/users/zxqfox/following{/other_user}","gists_url":"https://api.github.com/users/zxqfox/gists{/gist_id}","starred_url":"https://api.github.com/users/zxqfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxqfox/subscriptions","organizations_url":"https://api.github.com/users/zxqfox/orgs","repos_url":"https://api.github.com/users/zxqfox/repos","events_url":"https://api.github.com/users/zxqfox/events{/privacy}","received_events_url":"https://api.github.com/users/zxqfox/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T12:24:03Z","updated_at":"2015-08-10T12:24:03Z","body":"I think statements are better here than lines of code, but guess entities (or something similar and abstract) are better."}}