vscode-lualinter
A simple Visual Studio Code extension to lint Lua scripts with luac -p or luajit -bl .
![Example screenshot](http://i.imgur.com/hm3dSEC.png)
![Example animation](https://thumbs.gfycat.com/BoringThinCockerspaniel-size_restricted.gif)
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!
| |