.luacheckrc 633 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. std = "lua51+minetest"
  2. unused_args = false
  3. allow_defined_top = true
  4. max_line_length = 90
  5. stds.minetest = {
  6. read_globals = {
  7. "DIR_DELIM",
  8. "minetest",
  9. "core",
  10. "dump",
  11. "vector",
  12. "nodeupdate",
  13. "VoxelManip",
  14. "VoxelArea",
  15. "PseudoRandom",
  16. "ItemStack",
  17. "default",
  18. table = {
  19. fields = {
  20. "copy",
  21. },
  22. },
  23. }
  24. }
  25. read_globals = {
  26. "toolranks",
  27. "farming",
  28. }
  29. files["tool_types.lua"] = {
  30. read_globals = {
  31. toolranks = {
  32. fields = {
  33. get_tool_type = {
  34. read_only = false,
  35. other_fields = false
  36. },
  37. create_description = {
  38. read_only = false,
  39. otherfields = false
  40. },
  41. }
  42. }
  43. }
  44. }