Home Download Buy Blog Forum Support

Just path to JSHint? Sublimelinter 2

Just path to JSHint? Sublimelinter 2

Postby Khrome83 on Mon May 21, 2012 9:51 pm

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.

Code: Select all
"sublimelinter_executable_map":
    {
        "javascript": "absolute_path_to_this_area/NodeJS/node_modules/jshint/packages/jshint"
    },
Khrome83
 
Posts: 14
Joined: Fri Mar 09, 2012 8:14 pm

Re: Just path to JSHint? Sublimelinter 2

Postby Khrome83 on Tue May 22, 2012 12:42 pm

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

"sublimelinter_executable_map":
{
"javascript": "C:/....../Documents/NodeJS/node.exe"
},
Khrome83
 
Posts: 14
Joined: Fri Mar 09, 2012 8:14 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 13 guests

cron