Software /
code /
prosody
File
.luacheckrc @ 7949:8acc35b5355a
core: Allow select core modules to mutate some globals (needs luacheck 1.19)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 04 Mar 2017 20:09:28 +0100 |
parent | 7948:ed99a8e3c260 |
child | 7952:38053bf1630d |
line wrap: on
line source
cache = true read_globals = { "prosody", "hosts", "import" } globals = { "_M" } allow_defined_top = true module = true unused_secondaries = false codes = true ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" } max_line_length = 150 files["core/"] = { read_globals = { "prosody", "hosts" }; globals = { "prosody.hosts.?", "hosts.?" }; } files["plugins/"] = { globals = { "module" }; } files["tests/"] = { read_globals = { "testlib_new_env", "assert_equal", "assert_table", "assert_function", "assert_string", "assert_boolean", "assert_is", "assert_is_not", "runtest", }; }