Created
May 10, 2011 21:17
-
-
Save seratch/965398 to your computer and use it in GitHub Desktop.
How to install jslint.vim on Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rhino (Java required) | |
curl ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip > ./rhino.zip | |
unzip rhino.zip | |
mkdir -p ~/Library/Java/Extensions | |
cp -p rhino1_7R3/js.jar ~/Library/Java/Extensions/ | |
rm -rf rhino.zip ./rhino1_7R3 | |
# -- chekcing installed | |
# java org.mozilla.javascript.tools.shell.Main | |
# jslint.vim (Rake required) | |
git clone https://github.com/hallettj/jslint.vim.git | |
cd jslint.vim | |
rake install | |
# -- editing .vimrc | |
# filetype plugin on | |
# let g:JSLintHighlightErrorLine = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment