Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SublimeLinter 3 Not Working

I've been having some problems with SublimeLinter3. I recently installed JSHint and Sublime Linter 3 with my package control, and when I manually use JSHint from the command palette it works fine. However, my SublimeLinter isn't doing anything. Shouldn't it provide instant visual feedback when i type errors and save a file? Any help would be greatly appreciated!

like image 692
Saad Avatar asked Apr 26 '14 18:04

Saad


2 Answers

Make sure that you installed the SublimeLinter-jshint package, and not the one just named JSHint, as it doesn't work with SublimeLinter. Also, make sure you've completely read through the SublimeLinter documentation so that everything is set up correctly.

like image 132
MattDMo Avatar answered Sep 29 '22 19:09

MattDMo


Have you read the installation documentation ? You have to install jshint using Node.js

If you have done every steps, take a look at Tools > SublimeLinter > Lint Mode. "Background" should be selected if you want a syntax check as you are typing.

You can also try to make some errors and press CTRL+K and then A to show all errors. If you see errors that means jshint is correctly installed and working. If not you have a problem with your installation.

like image 40
ôkio Avatar answered Sep 29 '22 20:09

ôkio