• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

arrow-to-return

Convert arrows to return expressions
  • #refactor
  • #javascript
germtb
0.3.3 128
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by