Skip to content

Commit

Permalink
Merge pull request #236 from mblayman/pre-commit
Browse files Browse the repository at this point in the history
 Add pre-commit hook to enable LuaFormatter for pre-commit.
  • Loading branch information
Koihik committed Jan 21, 2022
2 parents 979a954 + ad94bea commit efe5456
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 efe5456

Please sign in to comment.