{"action":"created","issue":{"url":"https://api.github.com/repos/beautify-web/js-beautify/issues/829","repository_url":"https://api.github.com/repos/beautify-web/js-beautify","labels_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/829/labels{/name}","comments_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/829/comments","events_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/829/events","html_url":"https://github.com/beautify-web/js-beautify/issues/829","id":121931211,"number":829,"title":"Erroneously changes CRLF to LF on Windows.","user":{"login":"garretwilson","id":627125,"avatar_url":"https://avatars.githubusercontent.com/u/627125?v=3","gravatar_id":"","url":"https://api.github.com/users/garretwilson","html_url":"https://github.com/garretwilson","followers_url":"https://api.github.com/users/garretwilson/followers","following_url":"https://api.github.com/users/garretwilson/following{/other_user}","gists_url":"https://api.github.com/users/garretwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/garretwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garretwilson/subscriptions","organizations_url":"https://api.github.com/users/garretwilson/orgs","repos_url":"https://api.github.com/users/garretwilson/repos","events_url":"https://api.github.com/users/garretwilson/events{/privacy}","received_events_url":"https://api.github.com/users/garretwilson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beautify-web/js-beautify/labels/enhancement","name":"enhancement","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/beautify-web/js-beautify/milestones/10","html_url":"https://github.com/beautify-web/js-beautify/milestones/v1.6.0","labels_url":"https://api.github.com/repos/beautify-web/js-beautify/milestones/10/labels","id":806374,"number":10,"title":"v1.6.0","description":"* Inline/short object and json preservation (all rejoice!)\r\n* ES6 annotations, module import/export, arrow functions, concise methods, and more\r\n* JSX spread attributes\r\n* HTML wrap attributes, inline element fixes, doctype and php fixes\r\n* Test framework hardening\r\n* Windows build fixed and covered by appveyor continuous integration\r\n\r\n","creator":{"login":"bitwiseman","id":1958953,"avatar_url":"https://avatars.githubusercontent.com/u/1958953?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":53,"state":"closed","created_at":"2014-09-29T08:41:42Z","updated_at":"2016-01-29T19:43:57Z","due_on":"2017-02-06T08:00:00Z","closed_at":"2016-01-29T06:59:38Z"},"comments":13,"created_at":"2015-12-13T17:11:23Z","updated_at":"2016-02-24T04:36:14Z","closed_at":"2016-01-19T21:08:12Z","body":"atom-beautify (which uses js-beautify) at first seemed nice, but then I realized it changed all my CRLF line endings on Windows to LF.  This is a bug. I shouldn't have to find a setting to keep my current CRLF line endings. atom-beautify should stay with my current line endings; or at the very, very least detected my system and use appropriate line endings. The current behavior is incorrect as a default.\r\n\r\nThis is a huge blocker issue. I can't have something mucking around with my line endings. This messes up my workflow, especially with Git."},"comment":{"url":"https://api.github.com/repos/beautify-web/js-beautify/issues/comments/188062120","html_url":"https://github.com/beautify-web/js-beautify/issues/829#issuecomment-188062120","issue_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/829","id":188062120,"user":{"login":"bitwiseman","id":1958953,"avatar_url":"https://avatars.githubusercontent.com/u/1958953?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T04:36:14Z","updated_at":"2016-02-24T04:36:14Z","body":"I believe the `eol` value is actually set to a value by atom-beautify, which would override the auto. \r\n\r\nIf you believe this isn't working on the js-beautify side, you can test it by saving your file and then running the js-beautify command on the file."}}