Software /
code /
prosody
Changeset
8567:93695bb1f0e7
luacheckrc: Reflow globals settings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 07 Mar 2018 19:19:56 +0100 |
parents | 8566:8ea66e42a27b |
children | 8568:37d98a5fbb77 |
files | .luacheckrc |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
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