{"action":"created","issue":{"url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/41","labels_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/41/comments","events_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/41/events","html_url":"https://github.com/Glavin001/atom-beautify/issues/41","id":36880295,"number":41,"title":"Rename .jsbeautifyrc to .atombeautifyrc","user":{"login":"donaldpipowitch","id":1152805,"avatar_url":"https://avatars.githubusercontent.com/u/1152805?v=3","gravatar_id":"","url":"https://api.github.com/users/donaldpipowitch","html_url":"https://github.com/donaldpipowitch","followers_url":"https://api.github.com/users/donaldpipowitch/followers","following_url":"https://api.github.com/users/donaldpipowitch/following{/other_user}","gists_url":"https://api.github.com/users/donaldpipowitch/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldpipowitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldpipowitch/subscriptions","organizations_url":"https://api.github.com/users/donaldpipowitch/orgs","repos_url":"https://api.github.com/users/donaldpipowitch/repos","events_url":"https://api.github.com/users/donaldpipowitch/events{/privacy}","received_events_url":"https://api.github.com/users/donaldpipowitch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Glavin001/atom-beautify/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Glavin001/atom-beautify/labels/high%20priority","name":"high priority","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"Glavin001","id":1885333,"avatar_url":"https://avatars.githubusercontent.com/u/1885333?v=3","gravatar_id":"","url":"https://api.github.com/users/Glavin001","html_url":"https://github.com/Glavin001","followers_url":"https://api.github.com/users/Glavin001/followers","following_url":"https://api.github.com/users/Glavin001/following{/other_user}","gists_url":"https://api.github.com/users/Glavin001/gists{/gist_id}","starred_url":"https://api.github.com/users/Glavin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glavin001/subscriptions","organizations_url":"https://api.github.com/users/Glavin001/orgs","repos_url":"https://api.github.com/users/Glavin001/repos","events_url":"https://api.github.com/users/Glavin001/events{/privacy}","received_events_url":"https://api.github.com/users/Glavin001/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Glavin001/atom-beautify/milestones/6","html_url":"https://github.com/Glavin001/atom-beautify/milestones/v0.29.0","labels_url":"https://api.github.com/repos/Glavin001/atom-beautify/milestones/6/labels","id":1123999,"number":6,"title":"v0.29.0","description":"","creator":{"login":"Glavin001","id":1885333,"avatar_url":"https://avatars.githubusercontent.com/u/1885333?v=3","gravatar_id":"","url":"https://api.github.com/users/Glavin001","html_url":"https://github.com/Glavin001","followers_url":"https://api.github.com/users/Glavin001/followers","following_url":"https://api.github.com/users/Glavin001/following{/other_user}","gists_url":"https://api.github.com/users/Glavin001/gists{/gist_id}","starred_url":"https://api.github.com/users/Glavin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glavin001/subscriptions","organizations_url":"https://api.github.com/users/Glavin001/orgs","repos_url":"https://api.github.com/users/Glavin001/repos","events_url":"https://api.github.com/users/Glavin001/events{/privacy}","received_events_url":"https://api.github.com/users/Glavin001/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":31,"state":"open","created_at":"2015-05-21T19:52:40Z","updated_at":"2015-06-28T05:22:43Z","due_on":"2015-06-15T03:00:00Z","closed_at":null},"comments":7,"created_at":"2014-07-01T10:33:43Z","updated_at":"2015-06-29T16:18:47Z","closed_at":null,"body":"Hi @Glavin001 and @karolyi,\r\n\r\nBefore leaving (?) the project (https://github.com/donaldpipowitch/atom-beautify/issues/40) I have one last question/advice:\r\nAs you've added new languages we are in the need to clarify the relation to https://github.com/beautify-web/js-beautify.\r\n\r\nThe project started as an Atom wrapper for js-beautify, but it should be treated independent to js-beautify now.\r\nWe already added a non-standard `.jsbeautifyrc` (https://github.com/donaldpipowitch/atom-beautify/issues/9). I would recommend to deprecate the use of `.jsbeautifyrc` right now and introduce a `.atombeautifyrc`. This JSON file collects default settings which can be used for every language, but could be overridden for a specific language (and adds language-specific settings). Something like\r\n````\r\n{\r\n \"_default\": {\r\n    \"indent_size\": 4,\r\n    \"indent_char\": \" \"\r\n  },\r\n  \"html\": {\r\n    \"brace_style\": \"collapse\",\r\n    \"indent_scripts\": \"normal\",\r\n    \"indent_size\": 6,\r\n    \"max_preserve_newlines\": 1,\r\n    \"preserve_newlines\": true,\r\n    \"unformatted\": [\"a\", \"sub\", \"sup\", \"b\", \"i\", \"u\"],\r\n    \"wrap_line_length\": 0\r\n  },\r\n  \"css\": {\r\n    \"indent_size\": 2\r\n  },\r\n  \"js\": {\r\n    \"indent_level\": 0,\r\n    \"indent_with_tabs\": false,\r\n    \"preserve_newlines\": true,\r\n    \"max_preserve_newlines\": 2,\r\n    \"jslint_happy\": true\r\n  },\r\n  \"sql\": {\r\n    \"indent_level\": 0,\r\n    \"indent_with_tabs\": false\r\n  },\r\n  \"python\": { ... }\r\n}\r\n````\r\nYou could even exchange js-beautify for a different beautifier for JS at a later state or use different beautifier for CSS and HTML, but still use it just for JS.\r\n\r\nJust my 2 cents :)"},"comment":{"url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/comments/116748228","html_url":"https://github.com/Glavin001/atom-beautify/issues/41#issuecomment-116748228","issue_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/41","id":116748228,"user":{"login":"nemoDreamer","id":9303,"avatar_url":"https://avatars.githubusercontent.com/u/9303?v=3","gravatar_id":"","url":"https://api.github.com/users/nemoDreamer","html_url":"https://github.com/nemoDreamer","followers_url":"https://api.github.com/users/nemoDreamer/followers","following_url":"https://api.github.com/users/nemoDreamer/following{/other_user}","gists_url":"https://api.github.com/users/nemoDreamer/gists{/gist_id}","starred_url":"https://api.github.com/users/nemoDreamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemoDreamer/subscriptions","organizations_url":"https://api.github.com/users/nemoDreamer/orgs","repos_url":"https://api.github.com/users/nemoDreamer/repos","events_url":"https://api.github.com/users/nemoDreamer/events{/privacy}","received_events_url":"https://api.github.com/users/nemoDreamer/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T16:18:47Z","updated_at":"2015-06-29T16:18:47Z","body":"No longer seems to be picking up the `.jsbeautifyrc` I have in my project's root...\r\nThe settings panel is Ok, although it's massive length makes it very unfriendly to use, but an existing `.jsbeautifyrc` should override those settings (especially when working in a team that has set such a file globally for use by all IDEs)"}}