Code::TidyAll::Plugin::JSBeautify - Use js-beautify with tidyall
select = static/**/*.js
argv = --indent-size 2 --brace-style expand
Install npm <https://npmjs.org/>, then run
npm install js-beautify -g
Do not confuse this with the "jsbeautify" command, which is provided
This plugin accepts the following configuration options:
Arguments to pass to "js-beautify".
The path for the "js-beautify" command. By default this is just
"js-beautify", meaning that the user's "PATH" will be
searched for the command.
Bugs may be submitted at
I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
The source code repository for Code-TidyAll can be found at
- Jonathan Swartz <firstname.lastname@example.org>
- Dave Rolsky <email@example.com>
This software is copyright (c) 2011 - 2017 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.
The full text of the license can be found in the LICENSE
with this distribution.