optional-chaining-codemod icon indicating copy to clipboard operation
optional-chaining-codemod copied to clipboard

Add support of custom babel rules

Open danylkaaa opened this issue 4 years ago • 0 comments

Hi, thank you for your package. It's great and helps us a lot to migrate our codebase to modern JS style.

In our code we use custom babel plugins, such as @babel/plugin-proposal-decorators When I apply your tool to our code base, I receive erros, like

SyntaxError: This experimental syntax requires enabling one of the following parser plugin(s): 'decorators-legacy, decorators' (11:0)

How I can fix them? Thanks!

danylkaaa avatar May 14 '20 14:05 danylkaaa