Skip to content

Commit

Permalink
chore: enable lua-language-server checkTableShape by default (#384)
Browse files Browse the repository at this point in the history
It was released yesterday, but was toggled off by default.
The example in the pull request works nicely.

- pull request
  - LuaLS/lua-language-server#2768
- comment saying why it was toggled off
  - LuaLS/lua-language-server#2768 (comment)
- changelog with a little more info
  - https://github.com/LuaLS/lua-language-server/blob/d702a55715df19a219e963da496e6fb76db0aacd/changelog.md?plain=1#L8
  • Loading branch information
mikavilpas authored Aug 17, 2024
1 parent 9457f83 commit 6940975
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .luarc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"diagnostics.globals": ["finally"]
"runtime": {
"version": "LuaJIT",
"pathStrict": true
},
"type": {
"checkTableShape": true
}
}

0 comments on commit 6940975

Please sign in to comment.