File: .luacheckrc

package info (click to toggle)
minetest 0.4.17.1+repack-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 29,408 kB
  • sloc: cpp: 121,014; xml: 46,127; ansic: 4,154; sh: 1,076; makefile: 744; python: 659; java: 484
file content (21 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
unused_args = false
allow_defined_top = true

read_globals = {
	"DIR_DELIM",
	"minetest", "core",
	"dump",
	"vector",
	"VoxelManip", "VoxelArea",
	"PseudoRandom", "ItemStack",
	"Settings",
	"unpack",
	-- Silence "accessing undefined field copy of global table".
	table = { fields = { "copy" } }
}

-- Overwrites minetest.handle_node_drops
files["mods/creative/init.lua"].globals = { "minetest" }

-- Don't report on legacy definitions of globals.
files["mods/default/legacy.lua"].global = false