Skip to content
/ bbjshint Public
forked from isao/bbjshint

script to run jshint as a bbedit script on current document

Notifications You must be signed in to change notification settings

dxdc/bbjshint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bbjshint

Run JSHint on the javascript code in your frontmost (and saved) BBEdit document, and see the results in a Result Browser window.

Note that for now, the text document must be saved before bbjshint can check it.

install

Use from BBEdit's Scripts menu by either installing or symlinking bbjshint to BBEdit's Scripts folder. This is ~/Library/Application Support/BBEdit/Scripts or perhaps ~/Dropbox/Application Support/BBEdit/Scripts. You can show this folder from BBEdit by going to the scripts menu and choosing "Open Scripts Folder".

npm install --global bbjshint (or, sudo npm install --global bbjshint)
cd ~/"Library/Application Support/BBEdit/Scripts/"
ln -s `which bbjshint`

usage

Custom .jshintrc files can be used. They should be placed in the same directory as the original folder with javascript code. See: https://github.com/jshint/jshint/blob/master/examples/.jshintrc

contributors

acknowledgements

See bbresults.

license

MIT

About

script to run jshint as a bbedit script on current document

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%