Software /
code /
prosody
Diff
.luacheckrc @ 8567:93695bb1f0e7
luacheckrc: Reflow globals settings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 07 Mar 2018 19:19:56 +0100 |
parent | 8557:28f9b8a5d9cb |
child | 8568:37d98a5fbb77 |
line wrap: on
line diff
--- 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