.luacheckrc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. unused_args = false
  2. globals = {
  3. "PlayerObj", "PlayerName", "HumanReadable", "RunCallbacks",
  4. "ctf_gui", "hud_events", "mhud", "physics", "rawf", "ctf_settings",
  5. "ctf_api", "ctf_chat", "ctf_combat_mode", "ctf_core", "ctf_cosmetics",
  6. "ctf_healing", "ctf_kill_list", "ctf_map", "ctf_melee", "ctf_modebase",
  7. "ctf_ranged", "ctf_rankings", "ctf_report", "ctf_teams", "ctf_player",
  8. "dropondie", "grenades",
  9. "chatcmdbuilder", "crafting", "hpbar", "playertag", "random_messages",
  10. "skybox", "throwable_snow", "worldedit", "filter",
  11. "default", "doors", "player_api", "sfinv", "binoculars",
  12. "vector",
  13. math = {
  14. fields = {
  15. "round",
  16. "hypot",
  17. "sign",
  18. "factorial",
  19. "ceil",
  20. }
  21. },
  22. "minetest", "core",
  23. }
  24. exclude_files = {
  25. "mods/other/crafting",
  26. "mods/mtg/mtg_*",
  27. "mods/other/real_suffocation",
  28. "mods/other/lib_chatcmdbuilder",
  29. "mods/other/email",
  30. "mods/other/select_item",
  31. }
  32. read_globals = {
  33. "DIR_DELIM",
  34. "dump", "dump2",
  35. "VoxelManip", "VoxelArea",
  36. "PseudoRandom", "PcgRandom",
  37. "ItemStack",
  38. "Settings",
  39. "unpack",
  40. "loadstring",
  41. table = {
  42. fields = {
  43. "copy",
  44. "indexof",
  45. "insert_all",
  46. "key_value_swap",
  47. "shuffle",
  48. "random",
  49. }
  50. },
  51. string = {
  52. fields = {
  53. "split",
  54. "trim",
  55. }
  56. },
  57. }