Code::TidyAll::Plugin::JSHint - Use jshint with tidyall
version 0.54
In configuration: ; With default settings ; [JSHint] select = static/**/*.js ; Specify options inline ; [JSHint] select = static/**/*.js options = bitwise camelcase latedef ; or refer to a jshint.json config file in the same directory ; [JSHint] select = static/**/*.js argv = --config $ROOT/jshint.json where jshint.json looks like { "bitwise": true, "camelcase": true, "latedef": true }
Runs jshint, a JavaScript validator, and dies if any problems were found.
See installation options at jshint. One easy method is to install npm, then run
npm install jshint -g
Arguments to pass to jshint
Full path to jshint
A whitespace separated string of options, as documented here. These will be written to a temporary config file and passed as --config to argv.
Bugs may be submitted through https://github.com/houseabsolute/perl-code-tidyall/issues.
I am also usually active on IRC as 'drolsky' on irc://irc.perl.org.
irc://irc.perl.org
Jonathan Swartz <swartz@pobox.com>
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2011 - 2016 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Code::TidyAll, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Code::TidyAll
CPAN shell
perl -MCPAN -e shell install Code::TidyAll
For more information on module installation, please visit the detailed CPAN module installation guide.