Code::TidyAll::Plugin::JSBeautify(3pm)

Code::TidyAll::Plugin::JSBeautify3pm

Use js-beautify with tidyall

Usage

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

Version

version 0.84

Overview

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.

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.

Support

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

Source

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

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Authors

•

Jonathan Swartz <[email protected]>

•

Dave Rolsky <[email protected]>

From libcode-tidyall-perl 0.84~ds-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.