[Pkg-javascript-devel] #743404 RFP: eslint -- tool for static analysis of ECMAScript (JavaScript™) code

Daniel Kahn Gillmor dkg at debian.org
Mon Jan 25 19:23:26 UTC 2016


Hi debian javascript maintainers--

in https://bugs.debian.org/743404, Ben Finney <ben+debian at benfinney.id.au> wrote:
> Package: wnpp
> Severity: wishlist
>
> * Package name    : eslint
>   Version         : 0.4.5
>   Upstream Author : Nicholas C. Zakas <nicholas+npm at nczconsulting.com>
> * URL             : http://eslint.org/
> * License         : Expat (MIT)
>   Programming Lang: ECMAScript
>   Description     : tool for static analysis of ECMAScript (JavaScript™) code
>
>     ESLint is a tool for identifying and reporting on patterns found in
>     ECMAScript (JavaScript™) code. It performs static code analysis to find
>     common and likely mistakes.
>     .
>     In many ways, it is similar to JSLint and JSHint with a few exceptions:
>     .
>     * ESLint uses Esprima for JavaScript parsing.
>     * ESLint uses an AST to evaluate patterns in code.
>     * ESLint is completely pluggable, every single rule is a plugin and you
>       can add more at runtime.
>
> One reason this package is attractive for ECMAScript developers is because
> it is a DFSG-free licensed linter; the two most popular linters, JSLint and
> JSHint, both have non-free licenses that prevent their inclusion in Debian.


Is anyone in the javascript team up for packaging this?  It appears to
available in npm, fwiw.

Enigmail is now using eslint upstream as part of the test suite (they've
switched to it from jshint to avoid the crappy jshint license), and i'd
love to be able to run the full test suite from within debian during
enigmail package builds.

         --dkg



More information about the Pkg-javascript-devel mailing list