Skip to content

Commit

Permalink
switch to minetest+max std for luacheck
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Feb 8, 2024
1 parent 0cc6862 commit 0602e63
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
unused_args = false
max_line_length= 240
redefined = false
std = "minetest+max"

globals = {
"pipeworks",
"luaentity"
}

read_globals = {
-- Stdlib
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},

-- Minetest
"vector", "ItemStack",
"dump", "minetest",
"VoxelManip", "VoxelArea",

-- mods
"default", "mesecon", "digiline",
"screwdriver", "unified_inventory",
"i3", "mcl_experience", "awards"

}

0 comments on commit 0602e63

Please sign in to comment.