diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index e4576b7..9cb784c 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml @@ -8,6 +8,6 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Luacheck - uses: lunarmodules/luacheck@v0 + uses: lunarmodules/luacheck@v1 diff --git a/.luacheckrc b/.luacheckrc index a5d3578..37a86fe 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,15 +1,11 @@ -std = "max" +std = "min+sile" include_files = { "**/*.lua", - "sile.in", "*.rockspec", ".busted", ".luacheckrc" } exclude_files = { - "benchmark-*", - "compare-*", - "sile-*", "lua_modules", "lua-libraries", ".lua", @@ -19,15 +15,6 @@ exclude_files = { files["**/*_spec.lua"] = { std = "+busted" } -globals = { - "SILE", - "SU", - "luautf8", - "pl", - "fluent", - "SYSTEM_SILE_PATH", - "SHARED_LIB_EXT" -} max_line_length = false ignore = { "581" -- operator order warning doesn't account for custom table metamethods