{"action":"closed","issue":{"url":"https://api.github.com/repos/csscomb/csscomb.js/issues/394","labels_url":"https://api.github.com/repos/csscomb/csscomb.js/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/csscomb/csscomb.js/issues/394/comments","events_url":"https://api.github.com/repos/csscomb/csscomb.js/issues/394/events","html_url":"https://github.com/csscomb/csscomb.js/issues/394","id":85850374,"number":394,"title":"v3.1.5 makes decimal fractions unitless","user":{"login":"87carats","id":7281775,"avatar_url":"https://avatars.githubusercontent.com/u/7281775?v=3","gravatar_id":"","url":"https://api.github.com/users/87carats","html_url":"https://github.com/87carats","followers_url":"https://api.github.com/users/87carats/followers","following_url":"https://api.github.com/users/87carats/following{/other_user}","gists_url":"https://api.github.com/users/87carats/gists{/gist_id}","starred_url":"https://api.github.com/users/87carats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/87carats/subscriptions","organizations_url":"https://api.github.com/users/87carats/orgs","repos_url":"https://api.github.com/users/87carats/repos","events_url":"https://api.github.com/users/87carats/events{/privacy}","received_events_url":"https://api.github.com/users/87carats/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-07T03:58:05Z","updated_at":"2015-06-09T20:20:54Z","closed_at":"2015-06-09T20:20:54Z","body":"When both `leading-zero` and `unitless-zero` options are set `true`,\r\n\r\n    $ csscomb --version\r\n    3.1.5\r\n\r\n    $ cat ./.csscomb.json\r\n    {\r\n      \"leading-zero\": true,\r\n      \"unitless-zero\": true\r\n    }\r\n\r\n`csscomb` removes unit of decimal values less than 1.\r\n\r\n    $ cat ./example.css\r\n    .example {\r\n      bottom: 0em;\r\n      left:   0.5em;\r\n      right:  1em;\r\n      top:    1.5em;\r\n    }\r\n\r\n    $ csscomb --config ./.csscomb.json ./example.css\r\n\r\n    $ cat ./example.css\r\n    .example {\r\n      bottom: 0;\r\n      left:   0.5;\r\n      right:  1em;\r\n      top:    1.5em;\r\n    }\r\n\r\nIs this a bug?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/20787161-v3-1-5-makes-decimal-fractions-unitless?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}