Scroll to navigation

Code::TidyAll::Plugin::JSLint(3pm) User Contributed Perl Documentation Code::TidyAll::Plugin::JSLint(3pm)

NAME

Code::TidyAll::Plugin::JSLint - Use jslint with tidyall

VERSION

version 0.82

SYNOPSIS

   In configuration:
   [JSLint]
   select = static/**/*.js
   argv = --white --vars --regex

DESCRIPTION

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

INSTALLATION

Install npm <https://npmjs.org/>, then run

    npm install jslint

CONFIGURATION

This plugin accepts the following configuration options:

argv

Arguments to pass to "jslint".

cmd

The path for the "jslint" command. By default this is just "jslint", 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>.

AUTHORS

  • Jonathan Swartz <swartz@pobox.com>
  • Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 - 2022 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.

The full text of the license can be found in the LICENSE file included with this distribution.

2022-04-16 perl v5.34.0