diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index c8aa34d..465c273 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -19,3 +19,4 @@ jobs: - uses: stevearc/nvim-typecheck-action@v2 with: level: Warning + configpath: ".luarc.json" diff --git a/.luarc.json b/.luarc.json index f0141ca..3826102 100644 --- a/.luarc.json +++ b/.luarc.json @@ -1,8 +1,15 @@ { + "runtime": { + "version": "LuaJIT", + "pathStrict": true + }, + "type": { + "checkTableShape": true + }, "diagnostics.globals": [ "describe", "it", "before_each", - "after_each", + "after_each" ] }