Comparison

.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
comparison
equal deleted inserted replaced
7948:ed99a8e3c260 7949:8acc35b5355a
8 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" } 8 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" }
9 9
10 max_line_length = 150 10 max_line_length = 150
11 11
12 files["core/"] = { 12 files["core/"] = {
13 ignore = { "122/prosody", "122/hosts" }; 13 read_globals = { "prosody", "hosts" };
14 globals = { "prosody.hosts.?", "hosts.?" };
14 } 15 }
15 files["plugins/"] = { 16 files["plugins/"] = {
16 globals = { "module" }; 17 globals = { "module" };
17 } 18 }
18 files["tests/"] = { 19 files["tests/"] = {