diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-07 19:19:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-07 19:19:56 +0100 |
commit | f3d5f41d6a035ba85894f9cded9e0c2c0444d50a (patch) | |
tree | 0074367e2c6855febdd214e4acf9a7f2e2c08528 /.luacheckrc | |
parent | 2b24859b36170f9d5d5d329f27fd0346ec9a6ea3 (diff) | |
download | prosody-f3d5f41d6a035ba85894f9cded9e0c2c0444d50a.tar.gz prosody-f3d5f41d6a035ba85894f9cded9e0c2c0444d50a.zip |
luacheckrc: Reflow globals settings
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 12 |
1 files changed, 9 insertions, 3 deletions
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 |