[Pkg-javascript-commits] [SCM] javascript code quality tool that aims to catch basic errors branch, master, updated. bdcc59c29435293c193273ad8446d660cba153f7

Paul Tagliamonte tag at pault.ag
Sun Jul 15 15:45:21 UTC 2012


The following commit has been merged in the master branch:
commit bdcc59c29435293c193273ad8446d660cba153f7
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Sun Jul 15 11:47:30 2012 -0400

    Add this sorry excuse for a manpage.
    
     I filed a bug with upstream[1] about getting this unsucked.
    
    [1]: https://github.com/reid/node-jslint/issues/41

diff --git a/debian/manpages/jslint.txt b/debian/manpages/jslint.txt
new file mode 100644
index 0000000..9a8c847
--- /dev/null
+++ b/debian/manpages/jslint.txt
@@ -0,0 +1,56 @@
+sb(1)
+=====
+Paul Tagliamonte <paultag at debian.org>
+July 15st 2012
+:man source:   jslint.txt
+:man version:  {revision}
+:man manual:   node-jslint Manual
+
+NAME
+----
+jslint - javascript code quality tool that aims to catch basic errors
+
+SYNOPSIS
+--------
+
+*jslint* [--indent] [--maxerr] [--maxlen] [--predef] [--anon] [--bitwise]
+         [--browser] [--cap] [--continue] [--css] [--debug] [--devel] [--eqeq]
+         [--es5] [--evil] [--forin] [--fragment] [--newcap] [--node] [--nomen]
+         [--on] [--passfail] [--plusplus] [--properties] [--regexp] [--rhino]
+         [--undef] [--unparam] [--sloppy] [--stupid] [--sub] [--vars] [--white]
+         [--widget] [--windows] [--json] [--color] [--terse]
+         [--] <scriptfile>...
+
+DESCRIPTION
+-----------
+*jslint(1)* is a wrapper around jslint.com linter, to allow one to lint
+JavaScript on the command line, or as part of a build process. It has quite a
+few options, and is commonly used in larger codebases.
+
+OPTIONS
+-------
+
+There is little documentation on which flags do what, so here's a short list
+of the ones that have very clear affects on the execution.
+
+*--maxerr*::
+    define how many errors we may encounter before halting the lint run.
+
+*--passfail*::
+    declare that you only care if a file lints or not (stop linting after the
+    first error).
+
+*--white*::
+    output results without color
+
+*--color*::
+    output results with color
+
+*--json*::
+    output results in JSON
+
+EXAMPLES
+--------
+
+    $ jslint --json foo.js
+

-- 
javascript code quality tool that aims to catch basic errors



More information about the Pkg-javascript-commits mailing list