sponsor Vim development Vim logo Vim Book Ad

jshint.vim : A plugin that integrates JSHint with Vim

 script karma  Rating 19/7, Downloaded by 903  Comments, bugs, improvements  Vim wiki

created by
Andreas Wlm
 
script type
utility
 
description
This plugin is a front for the jshint NodeJS cli module.
This plugin will allow you to run jshint from vim, and shows the results in a split window.


Usage

    :JSHint {file}

It default to current file.


Keyboard Shortcuts

In the quickfix window, you can use:

    o to open in new window
    go to preview file (open but maintain focus on jshint results)
    q to close the quickfix window
 
install details
You need jshint (http://jshint.org/) in you path of course.

Install on a system with npm:

    npm install jshint

Use pathogen.vim (https://github.com/vim-scripts/pathogen.vim) it's easy.


Or fork your own at https://github.com/walm/jshint.vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
jshint.tgz 0.2 2011-05-17 7.0 Andreas Wlm Close quickfix when no errors
jshint.tgz 0.1 2011-05-04 7.0 Andreas Wlm Initial upload
ip used for rating: 3.93.75.30

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN.net Logo