How do I incorporate jsLint into BBEdit?
- Environment:
- OSX Mountain Lion
- BBEdit 10.1.2 (3152)
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.
UPDATE
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.".