Skip to content

Commit

Permalink
Add pre-commit hook to enable LuaFormatter for pre-commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
mblayman committed Jan 17, 2022
1 parent 979a954 commit ad94bea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-hooks.yaml
@@ -0,0 +1,6 @@
- id: luaformatter
name: LuaFormatter
description: Format Lua code to a set style
entry: lua-format -i
language: lua
types: [lua]

0 comments on commit ad94bea

Please sign in to comment.