Sublime Forum

Just path to JSHint? Sublimelinter 2

#1

I just installed Sublime Linter 2.

I have heavily restricted machine. I am trying to set a custom path to JSHint which is installed in its portable version non-global, same as node.js.

What do I need to do to make this work. Currently I am pointing to the JSHint folder in the node modules folder where I have node installed. I am trying to make the link using the executable_map.

 "sublimelinter_executable_map":
    {
        "javascript": "absolute_path_to_this_area/NodeJS/node_modules/jshint/packages/jshint"
    },
0 Likes

#2

Fixed. I needed to make it the path to node.exe instead.

"sublimelinter_executable_map":
{
    "javascript": "C:/....../Documents/NodeJS/node.exe"
},
0 Likes