From f3d5f41d6a035ba85894f9cded9e0c2c0444d50a Mon Sep 17 00:00:00 2001
From: Kim Alvefur <zash@zash.se>
Date: Wed, 7 Mar 2018 19:19:56 +0100
Subject: luacheckrc: Reflow globals settings

---
 .luacheckrc | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

(limited to '.luacheckrc')

diff --git a/.luacheckrc b/.luacheckrc
index 41ae1495..25e422c6 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -1,5 +1,4 @@
 cache = true
-read_globals = { "prosody", "hosts", "import" }
 globals = { "_M" }
 allow_defined_top = true
 module = true
@@ -9,9 +8,16 @@ ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log" }
 
 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
-- 
cgit v1.2.3