Ubuntu Manpages

Code::TidyAll::Plugin::JSBeautify

Use js-beautify with tidyall

version 0.32

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

Runs js-beautify <https://npmjs.org/package/js-beautify>, a JavaScript tidier.

Install npm <https://npmjs.org/>, then run

    npm install js-beautify -g

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

Arguments to pass to js-beautify
Full path to js-beautify

Code::TidyAll

  • Jonathan Swartz <swartz@pobox.com>
  • Dave Rolsky <autarch@urth.org>

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