jdavisclark / JsFormat

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

Private methods wrongly formatted #197

Open janpeterka opened 1 year ago

janpeterka commented 1 year ago

Hi, I have code:

export default class extends Controller {
  (...)
  #someprivatemethod(){do_something}
}

but on formatting, #someprivatemethod is changed to # someprivatemethod, which breaks code.

It was fixed in js-beautify long time ago. Why is it not working here?

Thanks!