{"action":"closed","issue":{"url":"https://api.github.com/repos/clutchski/coffeelint/issues/347","labels_url":"https://api.github.com/repos/clutchski/coffeelint/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/clutchski/coffeelint/issues/347/comments","events_url":"https://api.github.com/repos/clutchski/coffeelint/issues/347/events","html_url":"https://github.com/clutchski/coffeelint/issues/347","id":46677444,"number":347,"title":"newlines_after_classes false positive with simple class","user":{"login":"dorianj","id":217874,"avatar_url":"https://avatars.githubusercontent.com/u/217874?v=3","gravatar_id":"","url":"https://api.github.com/users/dorianj","html_url":"https://github.com/dorianj","followers_url":"https://api.github.com/users/dorianj/followers","following_url":"https://api.github.com/users/dorianj/following{/other_user}","gists_url":"https://api.github.com/users/dorianj/gists{/gist_id}","starred_url":"https://api.github.com/users/dorianj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorianj/subscriptions","organizations_url":"https://api.github.com/users/dorianj/orgs","repos_url":"https://api.github.com/users/dorianj/repos","events_url":"https://api.github.com/users/dorianj/events{/privacy}","received_events_url":"https://api.github.com/users/dorianj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clutchski/coffeelint/labels/bug","name":"bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-23T21:09:08Z","updated_at":"2015-08-24T01:56:15Z","closed_at":"2015-08-24T01:56:15Z","body":"A file with just this:\r\n```coffeescript\r\nclass WhitespaceTest\r\n  key1: 'a'\r\n  key2: 'b'\r\n\r\n```\r\ntriggers `newlines_after_classes` for me.\r\n\r\n(my relevant config):\r\n```json\r\n    \"newlines_after_classes\": {\r\n        \"name\": \"newlines_after_classes\",\r\n        \"value\": 2,\r\n        \"level\": \"error\"\r\n    }\r\n```\r\n\r\nThings that work-around this: \r\n * adding a function prop anywhere in the object (`b: ->`)\r\n * adding an extra newline, or comment, at end of page\r\n * only having a single property"}}