A simple Visual Studio Code extension to lint LSL scripts with lslint
- Will move linter release into package for easy install.
- Make linter work on type instead of save only.
- Make #2 an option
- Make the highlighted text the actual problem, not what follows problem.
- fix unexpected identifier bug
- Clone the linter
git clone https://github.com/Makopo/lslint.git
- Install it in your system path
- Ensure that
lslint
is installed in your path, by opening up powershell or cmd or terminal and typinglslint
; - Run
Install Extension
command from Command Palette. - Search and choose
lslint
"lslint.enable"
- enable LSL linter
"lslint.warnOnSave"
- show warning message if there is an error when saving a file
Default options are:
{
"lsllinter.enable": true,
"lsllinter.warnOnSave": false,
"lsllinter.realtimeLinting": true,
}
Enjoy!