.luacheckrc 505 B

12345678910111213141516171819202122
  1. unused_args = false
  2. allow_defined_top = true
  3. read_globals = {
  4. "DIR_DELIM",
  5. "minetest", "core",
  6. "dump",
  7. "vector",
  8. "VoxelManip", "VoxelArea",
  9. "PseudoRandom", "PcgRandom",
  10. "ItemStack",
  11. "Settings",
  12. "unpack",
  13. -- Silence errors about custom table methods.
  14. table = { fields = { "copy", "indexof" } }
  15. }
  16. -- Overwrites minetest.handle_node_drops
  17. files["mods/creative/init.lua"].globals = { "minetest" }
  18. -- Don't report on legacy definitions of globals.
  19. files["mods/default/legacy.lua"].global = false