Skip to content

Commit 340bbbc

Browse files
committed
Add justfile for lua-format
1 parent 183e6a3 commit 340bbbc

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.lua-format.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# https://github.com/Koihik/LuaFormatter/blob/master/docs/Style-Config.md
2+
break_after_functioncall_lp: true
3+
break_before_functioncall_rp: true
4+
extra_sep_at_table_end: true
5+
break_after_operator: false
6+
spaces_inside_table_braces: true
7+
align_args: false
8+
align_parameter: false

justfile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
lua-format:
2+
lua-format -i -c ./.lua-format.yaml $(find . -type f -name '*.lua')

0 commit comments

Comments
 (0)