diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml new file mode 100644 index 0000000..3c99a99 --- /dev/null +++ b/.github/workflows/luacheck.yml @@ -0,0 +1,10 @@ +name: luacheck +on: [push, pull_request] +jobs: + luacheck: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Luacheck + uses: lunarmodules/luacheck@master diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..77837ad --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,12 @@ +globals = { + "banners", + "smartfs", +} + +read_globals = { + "core", + "dump", + "factions", + "inventory_plus", + "unified_inventory", +}