{"action":"opened","issue":{"url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1051","repository_url":"https://api.github.com/repos/beautify-web/js-beautify","labels_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1051/labels{/name}","comments_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1051/comments","events_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1051/events","html_url":"https://github.com/beautify-web/js-beautify/issues/1051","id":186323448,"number":1051,"title":"Allow different styles for Javascript and JSON","user":{"login":"lbssousa","id":1277917,"avatar_url":"https://avatars.githubusercontent.com/u/1277917?v=3","gravatar_id":"","url":"https://api.github.com/users/lbssousa","html_url":"https://github.com/lbssousa","followers_url":"https://api.github.com/users/lbssousa/followers","following_url":"https://api.github.com/users/lbssousa/following{/other_user}","gists_url":"https://api.github.com/users/lbssousa/gists{/gist_id}","starred_url":"https://api.github.com/users/lbssousa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbssousa/subscriptions","organizations_url":"https://api.github.com/users/lbssousa/orgs","repos_url":"https://api.github.com/users/lbssousa/repos","events_url":"https://api.github.com/users/lbssousa/events{/privacy}","received_events_url":"https://api.github.com/users/lbssousa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-31T16:03:14Z","updated_at":"2016-10-31T16:03:14Z","closed_at":null,"body":"# Description\r\nCurrently [js-beautify](https://github.com/beautify-web/js-beautify) seems to treat `*.js` and `*.json` files equally in `.jsbeautifyrc` config file (there's a single `\"js\"` section for both Javascript and JSON formats).\r\n\r\nI would like to set different options for Javascript and JSON, like the example below:\r\n\r\n```json\r\n{\r\n  \"js\": {\r\n    \"indent_size\": 4,\r\n  },\r\n  \"json\": {\r\n    \"indent_size\": 2,\r\n  }\r\n}\r\n```"}}
{"actor":{"display_login":"lbssousa"}}