Jonathan Swartz > Code-TidyAll-0.18 > Code::TidyAll::Plugin::JSBeautify

Download:
Code-TidyAll-0.18.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.18   Source   Latest Release: Code-TidyAll-0.20

NAME ^

Code::TidyAll::Plugin::JSBeautify - use js-beautify with tidyall

VERSION ^

version 0.18

SYNOPSIS ^

   In configuration:

   [JSBeautify]
   select = static/**/*.js
   argv = --indent-size 2 --brace-style expand

DESCRIPTION ^

Runs js-beautify, a JavaScript tidier.

INSTALLATION ^

Install npm, then run

    npm install js-beautify -g

Do not confuse this with the jsbeautify package (without the dash).

CONFIGURATION ^

argv

Arguments to pass to js-beautify

cmd

Full path to js-beautify

SEE ALSO ^

Code::TidyAll

AUTHOR ^

Jonathan Swartz <swartz@pobox.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 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.

syntax highlighting: