# HG changeset patch # User Kim Alvefur # Date 1520446796 -3600 # Node ID 93695bb1f0e74f6f42ea559883e3e802788e122e # Parent 8ea66e42a27b971c179b4b72d2103a97687bed30 luacheckrc: Reflow globals settings diff -r 8ea66e42a27b -r 93695bb1f0e7 .luacheckrc --- 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