node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



JSLint mod handler for XLint

Use this module with XLint.

It's customized version of JSLint that I use to validate code in projects I mantain.

In first place it provides module option to validate body of CJS modules as an actual function bodies. JSLint by defaults treats file code as if it's browser's script code, it's not right when we validate CJS modules.

Additionally: it removes few non configurable restrictions and adds more strict whitespace rules with some extra customizations.

All custom changes are documented distintingly in commit history.

It's maintained to be up to date with original JSLint.

For non customized JSLint validation module for XLint, see: xlint-jslint


$ npm install xlint-jslint-medikoo

Tests Build Status

$ npm test