FG
💻 Software

Using JSLint with Syntastic in Vim

Fresh7 days ago
Mar 15, 20266554 views
Confidence Score0%
0%

Problem

I'm using Syntastic for syntax checking in Vim - whenever I save an file, it runs it through a syntax checker and highlights errors for me. Spiffy. Same for several other file types: HAML, HTML, etc. It does this by calling out to external syntax checkers and displaying the errors they return. Synt…

Error Output

" When writing a file, if there are errors, have Syntastic plugin mark them
  let g:syntastic_enable_signs=1
  let g:syntastic_auto_loc_list=1

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Using JSLint with Syntastic in Vim

Low Risk

Syntastic is looking for the binary in your path. You can download jsl (command line js lint) from http://www.javascriptlint.com/download.htm After it is installed I would restart vim and viola, it should work. If you are on a mac, you can also do a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment