A simple luacheck extension for VS Code.
A mixture of linter-luacheck and vscode-lualinter.
Install luacheck first.
This extension contributes the following settings:
luachecker.luacheck
: point to luacheck if this extension does not workluachecker.enable
: enable/disable this extensionluachecker.warnOnSave
: set totrue
to show warning message if there is an error when saving a fileluachecker.globals
: add more globals names to standard ones, separated by comma, eg jit, bitluachecker.ignore
: ignore warnings related to these variables names, separated by comma, eg self, myvar
Does not work flawlessly on GIT tab
Initial release
Add --globals and --ignore options for luacheck
Nothing but a version number.
Bugs, ideas and pull requests please go to ghtalpo/lua-luachecker .
Enjoy!