1Code::TidyAll::Plugin::UJsSeHrinCto(n3t)ributed Perl DocCuomdeen:t:aTtiidoynAll::Plugin::JSHint(3)
2
3
4

NAME

6       Code::TidyAll::Plugin::JSHint - Use jshint with tidyall
7

VERSION

9       version 0.74
10

SYNOPSIS

12          In configuration:
13
14          ; With default settings
15          ;
16          [JSHint]
17          select = static/**/*.js
18
19          ; Specify options inline
20          ;
21          [JSHint]
22          select = static/**/*.js
23          options = bitwise camelcase latedef
24
25          ; or refer to a jshint.json config file in the same directory
26          ;
27          [JSHint]
28          select = static/**/*.js
29          argv = --config $ROOT/jshint.json
30
31          where jshint.json looks like
32
33          {
34             "bitwise": true,
35             "camelcase": true,
36             "latedef": true
37          }
38

DESCRIPTION

40       Runs jshint <http://www.jshint.com/>, a JavaScript validator, and dies
41       if any problems were found.
42

INSTALLATION

44       See installation options at jshint <http://www.jshint.com/platforms/>.
45       One easy method is to install npm <https://npmjs.org/>, then run
46
47           npm install jshint -g
48

CONFIGURATION

50       This plugin accepts the following configuration options:
51
52   argv
53       Arguments to pass to "jshint".
54
55   cmd
56       The path for the "jshint" command. By default this is just "jshint",
57       meaning that the user's "PATH" will be searched for the command.
58
59   options
60       A whitespace separated string of options, as documented by jshint
61       <http://www.jshint.com/docs/>. These will be written to a temporary
62       config file and passed as "--config" argument.
63

SUPPORT

65       Bugs may be submitted at
66       <https://github.com/houseabsolute/perl-code-tidyall/issues>.
67
68       I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
69

SOURCE

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

AUTHORS

75       ·   Jonathan Swartz <swartz@pobox.com>
76
77       ·   Dave Rolsky <autarch@urth.org>
78
80       This software is copyright (c) 2011 - 2019 by Jonathan Swartz.
81
82       This is free software; you can redistribute it and/or modify it under
83       the same terms as the Perl 5 programming language system itself.
84
85       The full text of the license can be found in the LICENSE file included
86       with this distribution.
87
88
89
90perl v5.30.0                      2019-07-26  Code::TidyAll::Plugin::JSHint(3)
Impressum