Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (29 sloc) 1.17 KB


Displays JavaScript Lint warnings in the quickfix error window.

The contents of a javascript file will be passed through the javascript lint parser after the file's buffer is saved. Any lint warnings will be placed in the quickfix error window.

Installation and Use

  • Mac OS X

    no installation needed
    by default /System/Library/Frameworks/JavaScriptCore.framework/Resources/jsc is used
  • Linux

    install SpiderMonkey
    $ sudo apt-get install spidermonkey-bin
  • If you have rake installed, run:

    $ rake install

Otherwise copy the directory plugin/jslint into your Vim plugin directory.


You may configure jslint using .jslintrc files. jslint.vim looks for them in your home directory and the current working directory. Inside these files, you should add magic jslint comments, just like your used to. Additionally you may need to add a parserOffset comment to fix the line numbers of the jslint output.


This plugin makes heavily use of the following sources:

Jump to Line
Something went wrong with that request. Please try again.