Code::TidyAll::Plugin::JSBeautify - Use js-beautify with tidyall
version 0.54
In configuration: [JSBeautify] select = static/**/*.js argv = --indent-size 2 --brace-style expand
Runs js-beautify, a JavaScript tidier.
Install npm, then run
npm install js-beautify -g
Do not confuse this with the jsbeautify package (without the dash).
jsbeautify
Arguments to pass to js-beautify
Full path to js-beautify
Bugs may be submitted through https://github.com/houseabsolute/perl-code-tidyall/issues.
I am also usually active on IRC as 'drolsky' on irc://irc.perl.org.
irc://irc.perl.org
Jonathan Swartz <swartz@pobox.com>
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2011 - 2016 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Code::TidyAll, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Code::TidyAll
CPAN shell
perl -MCPAN -e shell install Code::TidyAll
For more information on module installation, please visit the detailed CPAN module installation guide.