arrow-to-return
Convert arrows to return expressions
germtb 157 0 0.3.3 MIT GitHub

Convert one-line arrow functions to arrow functions with body and a return expression

  • There is no default keybinding for this package. Create your own pointing to: arrow-to-function:transform or use it from the command palette.

Configuration

It allows to configure for adding or not-adding of semicolons.