Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zhandouxiaojiji/git-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installing Eslint pre-commit

  • Copy pre-commit to ./git/hooks and chmod 775 pre-commit.
  • Copy .eslintrc to your workspace.
  • Eslint will automatic check your modified js code before you run git commit.

Installing Luacheck pre-commit

  • Copy pre-commit to ./git/hooks and chmod 775 pre-commit.
  • Copy .luacheckrc to your workspace.
  • Luacheck will automatic check your modified lua code before you run git commit.

Disallow branches other than master to use merge

  • Copy merge/* to ./git/hooks

About

git hoots pre-commit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published