Skip to content

Commit

Permalink
chore: add .luacheckrc (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
tris203 authored Oct 12, 2024
1 parent 8a81c31 commit 6cc1fde
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ jobs:
- uses: stevearc/nvim-typecheck-action@v2
with:
level: Warning
configpath: ".luarc.json"
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
globals = { "vim", "describe", "it", "before_each", "after_each", "assert", "async" }
9 changes: 8 additions & 1 deletion .luarc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"runtime": {
"version": "LuaJIT",
"pathStrict": true
},
"type": {
"checkTableShape": true
},
"diagnostics.globals": [
"describe",
"it",
"before_each",
"after_each",
"after_each"
]
}

0 comments on commit 6cc1fde

Please sign in to comment.