Software /
code /
prosody
Comparison
.luacheckrc @ 8568:37d98a5fbb77
luacheckrc: Remove allowance legacy module() related globals
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 07 Mar 2018 19:20:31 +0100 |
parent | 8567:93695bb1f0e7 |
child | 8569:f88bd2428bc2 |
comparison
equal
deleted
inserted
replaced
8567:93695bb1f0e7 | 8568:37d98a5fbb77 |
---|---|
1 cache = true | 1 cache = true |
2 globals = { "_M" } | |
3 allow_defined_top = true | 2 allow_defined_top = true |
4 module = true | |
5 unused_secondaries = false | 3 unused_secondaries = false |
6 codes = true | 4 codes = true |
7 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log" } | 5 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log" } |
8 | 6 |
9 max_line_length = 150 | 7 max_line_length = 150 |
82 "module.wrap_event", | 80 "module.wrap_event", |
83 "module.wrap_global", | 81 "module.wrap_global", |
84 "module.wrap_object_event", | 82 "module.wrap_object_event", |
85 }; | 83 }; |
86 globals = { | 84 globals = { |
87 "_M", | |
88 | |
89 -- Methods that can be set on module API | 85 -- Methods that can be set on module API |
90 "module.unload", | 86 "module.unload", |
91 "module.add_host", | 87 "module.add_host", |
92 "module.load", | 88 "module.load", |
93 "module.add_host", | 89 "module.add_host", |