summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRoss Williams <ross@ross-williams.net>2023-08-14 10:18:25 -0400
committerRoss Williams <ross@ross-williams.net>2023-08-14 10:18:25 -0400
commit39bb7916ff6a002dc6388fe35a95653a8e23aa16 (patch)
treedb21066b322687e0183ec9b1e9c475ce7c798f5a /tools
parentf09aa4104a56996e838dd30d28bbef706e461469 (diff)
downloadlua-language-server-39bb7916ff6a002dc6388fe35a95653a8e23aa16.zip
Ignore cast-local-type diagnostic for `_` local
The `unused-local` diagnostic already hard-codes to exclude `_`. `cast-local-type` should also ignore `_` variables, to avoid warnings in, for example, nested loops like: ```lua for _, list in ipairs(lists) do for _, item in ipairs(list) do _, result = pcall(...) end end ```
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions