Skip to content

Commit

Permalink
Merge pull request #622 from mblayman/lua
Browse files Browse the repository at this point in the history
Add documentation about Lua language support.
  • Loading branch information
asottile committed Jan 18, 2022
2 parents b70594b + b61a97d commit bb68f0a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
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

0 comments on commit bb68f0a

Please sign in to comment.