logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

       •   Jonathan Swartz <swartz@pobox.com>

       •   Dave Rolsky <autarch@urth.org>

Configuration

       This plugin accepts the following configuration options:

   argv
       Arguments to pass to "js-beautify".

   cmd
       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.

Description

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

Installation

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

           npm install js-beautify -g

       Do not confuse this with the "jsbeautify" command, which is provided by the JavaScript::Beautifier
       module.

Name

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

Source

       The source code repository for Code-TidyAll can be found at
       <https://github.com/houseabsolute/perl-code-tidyall>.

Support

       Bugs may be submitted at <https://github.com/houseabsolute/perl-code-tidyall/issues>.

Synopsis

          In configuration:

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

Version

       version 0.84

See Also