Skip to content

bigeye/JSHint-pre-commit-git-hook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

0. Install node.js (http://nodejs.org/)

1. Install jshint 

   sudo npm install -g jshint

2. Add the file to your repo's .git/hooks dir 

3. Make it executable 
   
   chmod +x .git/hooks/pre-commit

4. Test by committing a *.js file with problems

About

simple git pre-commit git hook for jshinting files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors