1Code::TidyAll::Plugin::UJsSeBreaCuotnitfryi(b3u)ted PerlCoDdoec:u:mTeindtyaAtlilo:n:Plugin::JSBeautify(3)
2
3
4
6 Code::TidyAll::Plugin::JSBeautify - Use js-beautify with tidyall
7
9 version 0.83
10
12 In configuration:
13
14 [JSBeautify]
15 select = static/**/*.js
16 argv = --indent-size 2 --brace-style expand
17
19 Runs js-beautify <https://npmjs.org/package/js-beautify>, a JavaScript
20 tidier.
21
23 Install npm <https://npmjs.org/>, then run
24
25 npm install js-beautify -g
26
27 Do not confuse this with the "jsbeautify" command, which is provided by
28 the JavaScript::Beautifier module.
29
31 This plugin accepts the following configuration options:
32
33 argv
34 Arguments to pass to "js-beautify".
35
36 cmd
37 The path for the "js-beautify" command. By default this is just
38 "js-beautify", meaning that the user's "PATH" will be searched for the
39 command.
40
42 Bugs may be submitted at
43 <https://github.com/houseabsolute/perl-code-tidyall/issues>.
44
46 The source code repository for Code-TidyAll can be found at
47 <https://github.com/houseabsolute/perl-code-tidyall>.
48
50 • Jonathan Swartz <swartz@pobox.com>
51
52 • Dave Rolsky <autarch@urth.org>
53
55 This software is copyright (c) 2011 - 2022 by Jonathan Swartz.
56
57 This is free software; you can redistribute it and/or modify it under
58 the same terms as the Perl 5 programming language system itself.
59
60 The full text of the license can be found in the LICENSE file included
61 with this distribution.
62
63
64
65perl v5.36.0 2023-01-2C0ode::TidyAll::Plugin::JSBeautify(3)