#211 Fix Java Script Lint (jsl) errors
Closed: Fixed None Opened 13 years ago by admiyo.

Prior to going out the door, our code should pass JSLint with no errors, or only ones that we've agreed are OK


jsl-0.3.0 is the C version of Java Script lint, and is in Fedora. THis can be run against the index.html file like so:

jsl -process index.html

But we want to tell it to ignore the jquery based files for now.

We can thus run it:

jsl ls *js | grep -v jquery | sed 's!^!process !g'

Metadata Update from @admiyo:
- Issue assigned to admiyo
- Issue set to the milestone: FreeIPA 2.0 - 2011/01 (cleanup)

7 years ago

Login to comment on this ticket.

Metadata