Displays JavaScript Lint warnings in the quickfix error window.
JavaScript Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



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: