.luacheckrc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ---*- mode: lua -*-
  2. stds.mineunit = {
  3. read_globals = {
  4. "mineunit", "fixture", "sourcefile",
  5. }
  6. }
  7. std = "lua51"
  8. files["ci/*"] = {std = "+busted+mineunit"}
  9. files[".luacheckrc"] = {std = "min+luacheckrc"}
  10. globals = {"advtrains_doc_integration"}
  11. read_globals = {
  12. "DIR_DELIM", "doc", "ItemStack", "minetest",
  13. "advtrains_attachment_offset_patch", "multi_component_liveries", "techage",
  14. advtrains = {
  15. fields = {
  16. coupler_types = {other_fields = true},
  17. register_wagon = {read_only = false},
  18. wagon_prototypes = {other_fields = true},
  19. }
  20. },
  21. advtrains_livery_database = {
  22. fields = {
  23. "add_livery_template", "add_livery_template_overlay", "add_predefined_livery",
  24. "get_livery_design_from_textures", "get_livery_template_names_for_wagon", "get_livery_textures_from_design",
  25. "get_predefined_livery", "get_predefined_livery_names",
  26. "get_wagon_livery_overlay_name", "get_wagon_livery_template", "get_wagon_mod_name",
  27. "register_mod", "register_wagon",
  28. }
  29. },
  30. dlxtrains = {
  31. fields = {
  32. update_livery = {read_only = false},
  33. },
  34. },
  35. table = {
  36. fields = {"copy"},
  37. },
  38. }
  39. ignore = {"631",}