LuaCheck: Fix typo in RC file name

master
rubenwardy 2018-04-12 01:02:22 +01:00
parent b2798e5891
commit e7575ad735
1 changed files with 11 additions and 5 deletions

View File

@ -51,7 +51,7 @@ On Linux, run `luacheck .` whilst in the root folder of your project.
## Configuring LuaCheck
Create a file called .luacheck in the root of your project. This could be the
Create a file called .luacheckrc in the root of your project. This could be the
root of your game, modpack, or mod.
Put the following contents in it:
@ -67,7 +67,13 @@ globals = {
read_globals = {
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},
"vector", "default", "ItemStack",
-- Builtin
"vector", , "ItemStack",
"dump", "DIR_DELIM", "VoxelArea", "Settings",
-- MTG
"default", "sfinv", "creative",
}
{% endhighlight %}