Comparison

.luacheckrc @ 8716:2f3b08ad9b8a

luacheckrc: Forget about _G.hosts, things should use _G.prosody.hosts
author Kim Alvefur <zash@zash.se>
date Thu, 29 Mar 2018 16:42:24 +0200
parent 8710:ed3dcbc5336f
child 8727:285075a27f28
comparison
equal deleted inserted replaced
8715:25d8d6091ec3 8716:2f3b08ad9b8a
5 5
6 max_line_length = 150 6 max_line_length = 150
7 7
8 read_globals = { 8 read_globals = {
9 "prosody", 9 "prosody",
10 "hosts",
11 "import", 10 "import",
12 "server", 11 "server",
13 }; 12 };
14 files["prosody"] = { 13 files["prosody"] = {
15 allow_defined_top = true; 14 allow_defined_top = true;
20 module = true; 19 module = true;
21 }; 20 };
22 files["core/"] = { 21 files["core/"] = {
23 globals = { 22 globals = {
24 "prosody.hosts.?", 23 "prosody.hosts.?",
25 "hosts.?",
26 }; 24 };
27 } 25 }
28 files["util/"] = { 26 files["util/"] = {
29 -- Ignore unwrapped license text 27 -- Ignore unwrapped license text
30 max_comment_line_length = false; 28 max_comment_line_length = false;