Created
September 1, 2015 10:56
-
-
Save Morantron/e95d5f8d2740bfea4d8d to your computer and use it in GitHub Desktop.
Trick Syntastic to use local eslint
This file contains 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
#!/bin/bash | |
# place this script in your path, with filename "eslint" | |
if [[ -f ./node_modules/eslint/bin/eslint.js ]]; then | |
./node_modules/eslint/bin/eslint.js $* | |
else | |
echo "No eslint found in this folder!" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Le proxy