Diff

.luacheckrc @ 13211:4d4f9e42bcf8

moduleapi: Add :get_option_integer() Many options in Prosody that are treated as numbers don't make sense as floats, e.g. sizes and limits measured in bytes. Simplified implementation based on an earlier attempt dating back to 2020
author Kim Alvefur <zash@zash.se>
date Mon, 17 Jul 2023 00:09:41 +0200
parent 13204:c9ef35fab0b1
child 13270:14bbfb2cc8dd
line wrap: on
line diff
--- a/.luacheckrc	Sun Jul 16 21:21:37 2023 +0200
+++ b/.luacheckrc	Mon Jul 17 00:09:41 2023 +0200
@@ -75,6 +75,7 @@
 		"module.get_option_boolean",
 		"module.get_option_enum",
 		"module.get_option_inherited_set",
+		"module.get_option_integer",
 		"module.get_option_number",
 		"module.get_option_path",
 		"module.get_option_period",