--- a/.luacheckrc Wed Mar 07 19:18:35 2018 +0100
+++ b/.luacheckrc Wed Mar 07 19:19:56 2018 +0100
@@ -1,5 +1,4 @@
cache = true
-read_globals = { "prosody", "hosts", "import" }
globals = { "_M" }
allow_defined_top = true
module = true
@@ -9,9 +8,16 @@
max_line_length = 150
+read_globals = {
+ "prosody",
+ "hosts",
+ "import",
+};
files["core/"] = {
- read_globals = { "prosody", "hosts" };
- globals = { "prosody.hosts.?", "hosts.?" };
+ globals = {
+ "prosody.hosts.?",
+ "hosts.?",
+ };
}
files["util/"] = {
-- Ignore unwrapped license text