F
F
fapchat2020-04-19 23:58:03
Sublime Text
fapchat, 2020-04-19 23:58:03

Why doesn't jshint work in sublime text 3?

Terminal


[email protected]:~$ whereis node
node: /home/fapchat/.nvm/versions/node/v12.16.1/bin/node
[email protected]:~$ whereis jshint
jshint: /home/ fapchat/.nvm/versions/node/v12.16.1/bin/jshint

SublimeLinter Settings
{
"debug": true,
"linters": {
"jshint": {
"@disable": false, // enable or disable linter
"args": [],
"excludes": []
}
},
"paths": {
"linux": [
"/home/fapchat/.nvm/versions/node/v12.16.1/bin/jshint"
],
"osx": [],
"windows": []
}
}


5e9cba4fbf20a658947514.png

Sublime Console
SublimeLinter: #1 node_linter.py:83 Searching executable for 'jshint' starting at '/var/www/html/qwert-master'.
SublimeLinter: #1 util.py:163 PATH:
/home/fapchat/.nvm/versions/node/v12.16.1/bin/jshint
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
SublimeLinter: #1 linter.py:852 WARNING: jshint cannot locate 'jshint'

PS The advice on the forums did not help at all

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
siarheisiarhei, 2020-04-21
@siarheisiarhei

eslint crashed - yes .... a couple of weeks ago .... after eslint (a) - jshint installed itself ...
info is available .... you can’t explain it on your fingers ... you need to know your PC ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question