Skip to content

Commit

Permalink
chore(tooling): Make sure Lua formatting covers Lua code lurking in c…
Browse files Browse the repository at this point in the history
…orvers
  • Loading branch information
alerque committed May 30, 2024
1 parent f42cf70 commit 4a540c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ indent_size = 8
[*.md]
trim_trailing_whitespace = false

[{*.lua,*.lua.in,sile.in,*.rockspec,*.rockspec.in,.busted,.luacheckrc,config.ld}]
[{*.lua,*.lua.in,sile.in,*.rockspec,*.rockspec.in,.busted,.luacov,.luacheckrc,config.ld}]
indent_style = space
indent_size = 3
max_line_length = 120
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stylua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check --respect-ignores -g '*.lua' -g '*.lua.in' -g '*.rockspec.in' .busted .luacov .luacheckrc .
args: --check --respect-ignores -g '*.lua' -g '*.lua.in' -g '*.rockspec.in' .busted .luacov .luacheckrc build-aux/config.ld .
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ luacheck:
$(LUACHECK) -j$(shell nproc) -q .

stylua:
$(STYLUA) --check --respect-ignores -g '*.lua' -g '*.lua.in' -g '*.rockspec.in' .busted .luacov .luacheckrc .
$(STYLUA) --check --respect-ignores -g '*.lua' -g '*.lua.in' -g '*.rockspec.in' .busted .luacov .luacheckrc build-aux/config.ld .

busted: $(SILELUA) $(addprefix .fonts/,$(TESTFONTFILES)) $(BUSTEDSPECS)
set -f; IFS=';'
Expand Down

0 comments on commit 4a540c5

Please sign in to comment.