linter-glua

Lint (Garry's Mod) Lua on the fly, using gluac -p

xaviergmail

1,569

2

1.2.1

MIT

GitHub

This package provides the following services:

linter-glua

Requirements

You will need the following:

gluac — gluac is a variant of luac, which parses (Garry's Mod) lua files. It can be used for detecting errors in (Garry's Mod) lua scripts. See http://www.lua.org/manual/4.0/luac.html for more informations about luac.

This package will lint your currently open .lua files in Atom through gluac. It will lint on edit and/or save, so you are able to immediately see any errors in your script.

Due to the behavior of luac, it will only notify you of the first error found in the file.

Installation

Configuration

Atom -> Preferences... -> Packages -> Linter lua -> Settings: