Skip to content
Discussion options

You must be logged in to vote

For editing, LuaLS alone is enough, and running both mostly gets you the same warning twice. LuaLS has its own version of almost everything luacheck checks, plus type checking that luacheck can't do:

luacheck LuaLS diagnostic
unused variable / argument / label / vararg unused-local, unused-function, unused-label, unused-vararg
accessing undefined global undefined-global
setting a global lowercase-global (non-capitalized globals)
shadowing / redefining a local redefined-local (also outer scopes)
unreachable code, empty block, trailing whitespace unreachable-code, code-after-break, empty-block, trailing-space
duplicate table key duplicate-index
(none) param-type-mismatch, n…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by emirhan8180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants