{"action":"created","issue":{"url":"https://api.github.com/repos/beautify-web/js-beautify/issues/382","labels_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/382/comments","events_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/382/events","html_url":"https://github.com/beautify-web/js-beautify/issues/382","id":25334633,"number":382,"title":"Newline inserted after ES6 module import/export","user":{"login":"redking","id":1419807,"avatar_url":"https://avatars.githubusercontent.com/u/1419807?v=3","gravatar_id":"","url":"https://api.github.com/users/redking","html_url":"https://github.com/redking","followers_url":"https://api.github.com/users/redking/followers","following_url":"https://api.github.com/users/redking/following{/other_user}","gists_url":"https://api.github.com/users/redking/gists{/gist_id}","starred_url":"https://api.github.com/users/redking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redking/subscriptions","organizations_url":"https://api.github.com/users/redking/orgs","repos_url":"https://api.github.com/users/redking/repos","events_url":"https://api.github.com/users/redking/events{/privacy}","received_events_url":"https://api.github.com/users/redking/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":"open","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":"","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":46,"closed_issues":0,"state":"open","created_at":"2014-09-29T08:41:42Z","updated_at":"2015-07-20T18:04:26Z","due_on":"2015-12-31T08:00:00Z","closed_at":null},"comments":32,"created_at":"2014-01-09T17:07:48Z","updated_at":"2015-09-12T04:00:30Z","closed_at":null,"body":"Hey,\r\n\r\nI'm running jsbeautifier on a collection of Ember.JS ES6 modules and I've noticed a small issue with export statements.\r\n\r\nSuppose I have a module that exports as below\r\n\r\n```javascript\r\nexport default DS.FixtureAdapter.extend();\r\n```\r\n\r\njsbeautifier will add a newline after export\r\n\r\n```javascript\r\nexport\r\ndefault DS.FixtureAdapter.extend();\r\n```\r\n\r\nIt's a minor problem that is only an issue for us as we enforce a jsbeautifier run before a commit is accepted. So, if a developer removes the newline, the file in question will be included in the commit even though it may have nothing to do with the changes being commited. \r\n"},"comment":{"url":"https://api.github.com/repos/beautify-web/js-beautify/issues/comments/139710770","html_url":"https://github.com/beautify-web/js-beautify/issues/382#issuecomment-139710770","issue_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/382","id":139710770,"user":{"login":"divmgl","id":5452298,"avatar_url":"https://avatars.githubusercontent.com/u/5452298?v=3","gravatar_id":"","url":"https://api.github.com/users/divmgl","html_url":"https://github.com/divmgl","followers_url":"https://api.github.com/users/divmgl/followers","following_url":"https://api.github.com/users/divmgl/following{/other_user}","gists_url":"https://api.github.com/users/divmgl/gists{/gist_id}","starred_url":"https://api.github.com/users/divmgl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divmgl/subscriptions","organizations_url":"https://api.github.com/users/divmgl/orgs","repos_url":"https://api.github.com/users/divmgl/repos","events_url":"https://api.github.com/users/divmgl/events{/privacy}","received_events_url":"https://api.github.com/users/divmgl/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T04:00:30Z","updated_at":"2015-09-12T04:00:30Z","body":"+1"}}