zhandouxiaojiji / git-hooks

git hoots pre-commit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

git hoots pre-commit

License:MIT License


Languages

Language:Shell 53.3%Language:JavaScript 30.1%Language:Lua 16.6%