jdavisclark / JsFormat

Javascript formatting for Sublime Text 2 & 3
1.42k stars 222 forks source link

ES6 Space After Method #164

Closed gpresland closed 8 years ago

gpresland commented 8 years ago

Error keeps showing up on all ES6 methods.

class MyClass {
  constructor() {
    //       ^---error here
  }
}

It is expecting a space as if it is an anonymous function.

jdavisclark commented 8 years ago

@gpresland a js-beautifier upgrade is inbound soon. lets retest after that lands.

mathieug commented 8 years ago

166

rizrmd commented 7 years ago

I still have this issue.

capture