Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

JavaScript: jslint

LCD 47 edited this page Jun 12, 2016 · 6 revisions

This file is no longer maintained

This file exists only as a historic reference. Documentation for syntastic checkers is now included in the manual, please see :help syntastic-checkers in Vim.


Maintainer: Martin Grenfell martin.grenfell@gmail.com

JSLint is a code quality checker for JavaScript. See the program's page for details.

Checker Options

By default the checker calls jslint with these options:

--white --nomen --regexp --plusplus --bitwise --newcap --sloppy --vars

This can be changed by setting g:syntastic_javascript_jslint_args in your vimrc to your own list of options, for example:

let g:syntastic_javascript_jslint_args = "--white --nomen --regexp --browser --devel --windows --sloppy --vars"

Setting this variable to the empty string "" is allowed, and instructs syntastic to call jslint with no options.

Clone this wiki locally