Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation about Lua language support. #622

Merged
merged 1 commit into from
Jan 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions all-repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
- https://github.com/homebysix/pre-commit-macadmin
- https://github.com/fortman/pre-commit-prometheus
- https://github.com/syntaqx/git-hooks
- https://github.com/lunarmodules/luacheck
- https://github.com/Calinou/pre-commit-luacheck
- https://github.com/belminf/pre-commit-chef
- https://github.com/pocc/pre-commit-hooks
Expand Down
10 changes: 10 additions & 0 deletions sections/new-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ Hello from foo hook!
- [dotnet](#dotnet)
- [fail](#fail)
- [golang](#golang)
- [lua](#lua)
- [node](#node)
- [perl](#perl)
- [python](#python)
Expand Down Expand Up @@ -313,6 +314,15 @@ the [`entry`](#hooks-entry) should match an executable which will get installed
__Support:__ golang hooks are known to work on any system which has go
installed. It has been tested on linux, macOS, and windows.

### lua

_new in 2.17.0_

Lua hooks are installed with the version of Lua that is used by Luarocks.

__Support:__ Lua hooks are known to work on any system which has Luarocks
installed. It has been tested on linux and macOS and _may_ work on windows.

### node

The hook repository must have a `package.json`. It will be installed via
Expand Down