{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss/issues/387","labels_url":"https://api.github.com/repos/postcss/postcss/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss/issues/387/comments","events_url":"https://api.github.com/repos/postcss/postcss/issues/387/events","html_url":"https://github.com/postcss/postcss/issues/387","id":90657399,"number":387,"title":"Plugin to beautify CSS?","user":{"login":"ben-eb","id":1282980,"avatar_url":"https://avatars.githubusercontent.com/u/1282980?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-eb","html_url":"https://github.com/ben-eb","followers_url":"https://api.github.com/users/ben-eb/followers","following_url":"https://api.github.com/users/ben-eb/following{/other_user}","gists_url":"https://api.github.com/users/ben-eb/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-eb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-eb/subscriptions","organizations_url":"https://api.github.com/users/ben-eb/orgs","repos_url":"https://api.github.com/users/ben-eb/repos","events_url":"https://api.github.com/users/ben-eb/events{/privacy}","received_events_url":"https://api.github.com/users/ben-eb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/postcss/postcss/labels/plugins","name":"plugins","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-24T12:08:11Z","updated_at":"2015-06-26T23:42:15Z","closed_at":null,"body":"@yisibl raised this in the Gitter chat; a plugin to consistently format CSS. We noted that https://github.com/hail2u/postcss-fmt is too simplistic, and will need to be rewritten after the `clone` method is changed to return an exact copy of a node.\r\n\r\nIt would be good if the plugin supported a variety of formats to output to, like Sass.\r\n\r\nIndeed, a simplistic `compress` option could be used a base for cssnano to normalise whitespace. It is currently handled internally: https://github.com/ben-eb/cssnano/blob/master/lib/core.js"},"comment":{"url":"https://api.github.com/repos/postcss/postcss/issues/comments/115919152","html_url":"https://github.com/postcss/postcss/issues/387#issuecomment-115919152","issue_url":"https://api.github.com/repos/postcss/postcss/issues/387","id":115919152,"user":{"login":"davidtheclark","id":628431,"avatar_url":"https://avatars.githubusercontent.com/u/628431?v=3","gravatar_id":"","url":"https://api.github.com/users/davidtheclark","html_url":"https://github.com/davidtheclark","followers_url":"https://api.github.com/users/davidtheclark/followers","following_url":"https://api.github.com/users/davidtheclark/following{/other_user}","gists_url":"https://api.github.com/users/davidtheclark/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtheclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtheclark/subscriptions","organizations_url":"https://api.github.com/users/davidtheclark/orgs","repos_url":"https://api.github.com/users/davidtheclark/repos","events_url":"https://api.github.com/users/davidtheclark/events{/privacy}","received_events_url":"https://api.github.com/users/davidtheclark/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T23:42:15Z","updated_at":"2015-06-26T23:42:15Z","body":"Such a plugin could probably work hand-in-hand with https://github.com/stylelint/stylelint, so that it automatically adjusts to fix those linting errors that could be automatically fixed."}}