rdio/jsfmt

replace for ES7 code

hoschi opened this issue · 0 comments

I use babel to transpile some ES7 features like object rest spread:

let foo = {
  ...bar,
  myProp:'foo'
}

Which is no problem for formatting, but throws "Unexpected token ..." error when using "-r". Is there also a plugin mechanism for replacing as for formatting?