{"action":"created","issue":{"url":"https://api.github.com/repos/jdc0589/JsFormat/issues/158","repository_url":"https://api.github.com/repos/jdc0589/JsFormat","labels_url":"https://api.github.com/repos/jdc0589/JsFormat/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/jdc0589/JsFormat/issues/158/comments","events_url":"https://api.github.com/repos/jdc0589/JsFormat/issues/158/events","html_url":"https://github.com/jdc0589/JsFormat/issues/158","id":116474844,"number":158,"title":"Add option to control keeping a newline at the end of the file.","user":{"login":"MaitreyaBuddha","id":723393,"avatar_url":"https://avatars.githubusercontent.com/u/723393?v=3","gravatar_id":"","url":"https://api.github.com/users/MaitreyaBuddha","html_url":"https://github.com/MaitreyaBuddha","followers_url":"https://api.github.com/users/MaitreyaBuddha/followers","following_url":"https://api.github.com/users/MaitreyaBuddha/following{/other_user}","gists_url":"https://api.github.com/users/MaitreyaBuddha/gists{/gist_id}","starred_url":"https://api.github.com/users/MaitreyaBuddha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaitreyaBuddha/subscriptions","organizations_url":"https://api.github.com/users/MaitreyaBuddha/orgs","repos_url":"https://api.github.com/users/MaitreyaBuddha/repos","events_url":"https://api.github.com/users/MaitreyaBuddha/events{/privacy}","received_events_url":"https://api.github.com/users/MaitreyaBuddha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-12T03:56:47Z","updated_at":"2016-02-10T18:55:01Z","closed_at":null,"body":"This is not the same as issue #11 \r\n\r\nThe current default behavior (years later) is now to _remove_ any newlines at the end of the file. It was the opposite when #11 was filed. This can be fixed with sublime option ensure_newline_at_eof_on_save (as mentioned), however that option now alters files on every save. The behavior I would like, and is likely most desired for editing files after creation, is to not alter the newline at the end of file at all. Just leave it be."},"comment":{"url":"https://api.github.com/repos/jdc0589/JsFormat/issues/comments/182529239","html_url":"https://github.com/jdc0589/JsFormat/issues/158#issuecomment-182529239","issue_url":"https://api.github.com/repos/jdc0589/JsFormat/issues/158","id":182529239,"user":{"login":"jdc0589","id":327666,"avatar_url":"https://avatars.githubusercontent.com/u/327666?v=3","gravatar_id":"","url":"https://api.github.com/users/jdc0589","html_url":"https://github.com/jdc0589","followers_url":"https://api.github.com/users/jdc0589/followers","following_url":"https://api.github.com/users/jdc0589/following{/other_user}","gists_url":"https://api.github.com/users/jdc0589/gists{/gist_id}","starred_url":"https://api.github.com/users/jdc0589/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdc0589/subscriptions","organizations_url":"https://api.github.com/users/jdc0589/orgs","repos_url":"https://api.github.com/users/jdc0589/repos","events_url":"https://api.github.com/users/jdc0589/events{/privacy}","received_events_url":"https://api.github.com/users/jdc0589/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T18:55:01Z","updated_at":"2016-02-10T18:55:01Z","body":"@pleaseshutup: [bingo](https://github.com/jdc0589/JsFormat/blob/master/src/jsf_rc.py#L36). This should be documented better."}}