max-mapper / standard-format

converts your code into Standard JavaScript Format
264 stars 59 forks source link

Closing Block Paddings #131

Closed benhutchins closed 8 years ago

benhutchins commented 8 years ago

Based on e3e03d9 I was able to create what I believe is an improvement to properly format closing block paddings. I've improved the test.js file as well to cover more types of block statements to verify that paddings are properly resolved after formatting.

Fixes maxogden/standard-format#110, ricardofbarros/semistandard-format#4

benhutchins commented 8 years ago

Holy crap... I totally didn't see #130. It wasn't linked to issue #110 or any issues. So this might be a duplicate pull request.

benhutchins commented 8 years ago

Closing this in favor of #130