# HG changeset patch # User Kim Alvefur # Date 1657029742 -7200 # Node ID bc78424968b2dc02df2a68e1951ff1a30b66de1f # Parent 8c7b7db69f5b9c3ff45c6442a3588959f6d718fc luacheck: Update with changes from Prosody 0.12 diff -r 8c7b7db69f5b -r bc78424968b2 .luacheckrc --- a/.luacheckrc Sat Jul 02 02:30:02 2022 +0200 +++ b/.luacheckrc Tue Jul 05 16:02:22 2022 +0200 @@ -1,7 +1,7 @@ cache = true +codes = true allow_defined_top = true max_line_length = 150 -codes = true ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" }; read_globals = { "prosody", @@ -16,6 +16,7 @@ "module.saved_state", "module.global", "module.path", + "module.items", -- Module API "module.add_extension", @@ -23,6 +24,9 @@ "module.add_identity", "module.add_item", "module.add_timer", + "module.weekly", + "module.daily", + "module.hourly", "module.broadcast", "module.context", "module.depends", @@ -38,6 +42,7 @@ "module.get_option_inherited_set", "module.get_option_number", "module.get_option_path", + "module.get_option_scalar", "module.get_option_set", "module.get_option_string", "module.get_status", @@ -50,9 +55,6 @@ "module.log", "module.log_status", "module.measure", - "module.measure_event", - "module.measure_global_event", - "module.measure_object_event", "module.metric", "module.open_store", "module.provides",