max-mapper / standard-format

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

Block must not be padded by blank lines. #110

Closed nknapp closed 8 years ago

nknapp commented 9 years ago

Trailing padding within a block still is not removed (despite #23)

function test () {
  var a = 2
  console.log(a)

}

test()

Executing standard --format test.js outputs test.js:5:2: Block must not be padded by blank lines. without changing anything to the file (standard 5.2.1)

benhutchins commented 8 years ago

I'm having this same issue. +1