Install
Just clone this repo in you sublime's plugin folder
Use
On a .js or a .jsx file, press ctrl+alt+w (cmnd+alt+w on mac) to adapt your file to the automattic styleguide rules. Also available on the context menu, right clicking over your code.
Be aware that this is highly expermental... Always check the results after applying the script.