LuaCheck: Fix syntax error, add editor section
This commit is contained in:
parent
45b1ce06cb
commit
5afc7b4d1e
@ -69,7 +69,7 @@ read_globals = {
|
||||
table = {fields = {"copy", "getn"}},
|
||||
|
||||
-- Builtin
|
||||
"vector", , "ItemStack",
|
||||
"vector", "ItemStack",
|
||||
"dump", "DIR_DELIM", "VoxelArea", "Settings",
|
||||
|
||||
-- MTG
|
||||
@ -92,6 +92,15 @@ a look at the list below.
|
||||
* **mutating read-only global variable 'foobar'** - Move `foobar` from `read_globals` to
|
||||
`globals`.
|
||||
|
||||
## Using with editor
|
||||
|
||||
It is highly recommended that you find an install a plugin for your editor of choice
|
||||
to show you errors without running a command. Most editors will likely have a plugin
|
||||
available.
|
||||
|
||||
* **Atom** - `linter-luacheck`
|
||||
* **Sublime** - `SublimeLinter-luacheck`
|
||||
|
||||
## Checking commits with Travis
|
||||
|
||||
If your project is public and is on Github, you can use TravisCI - a free service
|
||||
|
Loading…
Reference in New Issue
Block a user