Skip to content

Commit

Permalink
Add .luacheckrc
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Feb 25, 2021
1 parent f3c799b commit f1cfa9d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
std = "lua51+minetest"
unused_args = false
allow_defined_top = true
max_line_length = 999

stds.minetest = {
read_globals = {
"minetest",
"VoxelManip",
"VoxelArea",
"PseudoRandom",
"ItemStack",
"default",
table = {
fields = {
"copy",
},
},
}
}

read_globals = {
"pipeworks",
}

1 change: 1 addition & 0 deletions utils/formspec.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
function generate(size)
local cfg
if size == "small" then
cfg = {
window_width = 8,
Expand Down

0 comments on commit f1cfa9d

Please sign in to comment.