How do I incorporate jsLint into BBEdit?
I installed Node.js (0.8.14) and ran
sudo npm install -g jslint
I am able to run jslint from the command line by running
jslint [filepath/]filename
I found a tutorial that seems to explain how to connect jsLint to BBEdit; however, I have never written an AppleScript and have no idea where to start.
Any guidance would be much appreciated.
I loaded the AppleScript from the tutorial into the AppleScript Editor Application and ran it.
I'm now getting the following error message:
Can’t get paragraphs 3 thru -1 of "Can’t make POSIX path of missing value into type Unicode text.".
I found the problem. I am using the BBEdit FTP browser and working directly off the server. This was causing problems with the file path that the AppleScript was relying on.
A short-term solution is to work on the file locally and then upload it when complete.
The better solution would be to mount the server as a drive. This would provide the most functionality with the greatest ease of use.