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.72
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
45 I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
46
48 The source code repository for Code-TidyAll can be found at
49 <https://github.com/houseabsolute/perl-code-tidyall>.
50
52 · Jonathan Swartz <swartz@pobox.com>
53
54 · Dave Rolsky <autarch@urth.org>
55
57 This software is copyright (c) 2011 - 2018 by Jonathan Swartz.
58
59 This is free software; you can redistribute it and/or modify it under
60 the same terms as the Perl 5 programming language system itself.
61
62 The full text of the license can be found in the LICENSE file included
63 with this distribution.
64
65
66
67perl v5.28.1 2018-12-2C0ode::TidyAll::Plugin::JSBeautify(3)