rosswarren / atom-codemod-1

simple commands to apply specific Babel plugins/codemods on your code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

atom-codemod

A very straightforward package that wraps babel plugins in simple commands.

Currently, it is limited to flow type annotations.

You can easily:

  1. Wrap all your flow types annotations in flowtate comments
  2. Strip all flow types from your code.

The plugin simply works on the Currently active file. Even if it is unsaved.

Keyboard Short cuts.

ctrl-alt-f ctrl-alt-c: Comment out flow annotations ctrl-alt-f ctrl-alt-s: Strip out flow annotations

About

simple commands to apply specific Babel plugins/codemods on your code

License:MIT License


Languages

Language:JavaScript 70.9%Language:CoffeeScript 29.1%