Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Lua linterNew to Visual Studio Code? Get it now.

Lua linter

Nikita Bredikhin

|
18,342 installs
| (3) | Free
Lint Lua scripts with luac or luajit
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-lualinter

A simple Visual Studio Code extension to lint Lua scripts with luac -p or luajit -bl.

Example screenshot

Example animation

Requirements

  1. Ensure that luac is installed in your system.
  2. Run Install Extension command from Command Palette.
  3. 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!

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft