Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Latest commit

 

History

History
30 lines (21 loc) · 986 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 986 Bytes

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!