Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6760501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:04:17+00:00 2026-05-26T14:04:17+00:00

This question has been asked, in one form or another, a dozen times here,

  • 0

This question has been asked, in one form or another, a dozen times here, and it blows my mind how not a single one actually addresses how to configure syntastic or jslint such that it actually does what it is supposed to do (its README file is completely useless)

see here

Can anyone provide some step by step instructions, or a link to such instructions. I tried to install jslint and spidermonkey, and I got nowhere.


I managed to get the syntax check to work (thanks to romainl). A few things I learned along the way that may help anyone with a similar problem

  1. To build Javascript Lint look for the README file nested in jsl-x.x.x/src/README.html
  2. The build instructions are gmake -f Makefile.ref but gmake is the same thing as make so issue the command sudo ln -s /usr/bin/make /usr/bin/gmake
  3. jsl will now be found in jsl-0.3.0/src/Linux_All_DBG.OBJ/jsl. To make it generally accessible do something like: ln -s /whatever/jsl-0.3.0/src/Linux_All_DBG.OBJ /home/ForestGump/bin/jsl. More information here
  4. To check that jsl actually works find a test file ( here) then issue the command jsl -process test.js. It should list all the errors.
  5. To customize your command line, add this to your vimrc file set statusline=%{SyntasticStatuslineFlag()}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:04:18+00:00Added an answer on May 26, 2026 at 2:04 pm

    What did you do? What works and what doesn’t? Do you get error messages?

    Here is what I did:

    1. Downloaded the jsl sources from the JavaScript Lint site.
    2. Built jsl and moved it somewhere in my $PATH.
    3. Checked if it worked by running it against a random .js file
    4. Downloaded and installed Syntastic as a Pathogen bundle.
    5. Typed :helptags /path/to/syntastic/doc because for some reason Pathogen’s automatic help tags generation doesn’t work for me.
    6. Read Syntastic’s documentation: :help syntastic.

    Steps 1 to 5 didn’t take more than 3 or 4 minutes, maybe less.

    Step 6 is obligatory, whatever new tool you try. RTFM.

    I didn’t have to configure anything beside these 3 lines in my .vimrc (and I believe the third is redundant):

    let g:syntastic_auto_loc_list=1
    let g:syntastic_disabled_filetypes=['html']
    let g:syntastic_enable_signs=1
    

    and customizing my statusline a bit with:

    %{SyntasticStatuslineFlag()}
    

    EDIT

    Here is my statusline:

    set statusline=%<\ %n:%f\ %m%r%y%{SyntasticStatuslineFlag()}%=line:\ %l\ of\ %L,\ col:\ %c%V,\ win:\ %{WindowNumber()}\ 
    

    Don’t copy it verbatim or you’ll get some errors due to the function call at the end. There is a paragraph about that in syntastic’s help.

    END EDIT

    After all that, 10 or 12 minutes if you count reading the documentation, I have a very helpful location list and signs poping up each time I save a .js file with syntax errors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question has been asked here in one form or another but not quite
I'm sure this question has already been asked in one form or another, but
Alright, I guess this question has been asked a lot of times here. I
I know this question has been asked multiple times on this site in one
This question has been asked several times here, but I can't find answer for
This question has been asked few times here and there, but you see all
Maybe this question has been asked many times before, but I never found a
I know this question has been asked before, but no one has given any
I know this question has been asked alot of times, however most of them
Ok, this question has been asked many times. Just googling with the error message:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.