vscode-lualinter
A simple Visual Studio Code extension to lint Lua scripts with luac -p or luajit -bl .
Requirements
- Ensure that
luac is installed in your system.
- Run
Install Extension command from Command Palette.
- Search and choose
lualinter .
Options
"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!
| |