diff options
-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 |