From bf56e8fbbf729241294bc6f2141e789efda60898 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Thu, 30 May 2024 16:19:18 +0300 Subject: [PATCH] chore(tooling): Make sure Lua formatting covers Lua code lurking in corvers --- .editorconfig | 2 +- .github/workflows/stylua.yml | 2 +- Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 4af1239e88..be9023ad6f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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,build-aux/config.ld}] indent_style = space indent_size = 3 max_line_length = 120 diff --git a/.github/workflows/stylua.yml b/.github/workflows/stylua.yml index 2e8f59e4b3..4789ca225b 100644 --- a/.github/workflows/stylua.yml +++ b/.github/workflows/stylua.yml @@ -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 . diff --git a/Makefile.am b/Makefile.am index b9992ea889..304b9bb48c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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=';'