diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml new file mode 100644 index 0000000..b6b05d7 --- /dev/null +++ b/.github/workflows/luacheck.yml @@ -0,0 +1,16 @@ +name: Luacheck + +on: + push: + pull_request: + +jobs: + luacheck: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Luacheck linter + uses: lunarmodules/luacheck@v1 + with: + args: src/ diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..074308f --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,3 @@ +globals = { + "unique_id" +}