A simple Visual Studio Code extension to lint Lua scripts with luac -p or luajit -bl.
- Ensure that
luacis installed in your system. - Run
Install Extensioncommand from Command Palette. - Search and choose
lualinter.
"lualinter.enable" - enable Lua linter
"lualinter.warnOnSave" - show warning message if there is an error when saving a file
"lualinter.interpreter" - choose between luac and luajit interpreters
Default options are:
{
"lualinter.enable": true,
"lualinter.warnOnSave": false,
"lualinter.interpreter": "luac"
} Enjoy!
