diff .luacheckrc @ 4971:bc78424968b2

luacheck: Update with changes from Prosody 0.12
author Kim Alvefur <zash@zash.se>
date Tue, 05 Jul 2022 16:02:22 +0200
parents 8e22b858628f
children e840aadebb61
line wrap: on
line diff
--- 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",