Software / code / prosody
Comparison
.luacheckrc @ 8573:85e51205eef7
luacheckrc: Restore module semantics, but only for plugins (ignores some globals)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 09 Mar 2018 19:23:19 +0100 |
| parent | 8569:f88bd2428bc2 |
| child | 8582:6a2366759974 |
comparison
equal
deleted
inserted
replaced
| 8572:ce1737520943 | 8573:85e51205eef7 |
|---|---|
| 20 files["util/"] = { | 20 files["util/"] = { |
| 21 -- Ignore unwrapped license text | 21 -- Ignore unwrapped license text |
| 22 max_comment_line_length = false; | 22 max_comment_line_length = false; |
| 23 } | 23 } |
| 24 files["plugins/"] = { | 24 files["plugins/"] = { |
| 25 module = true; | |
| 25 read_globals = { | 26 read_globals = { |
| 26 -- Module instance | 27 -- Module instance |
| 27 "module.name", | 28 "module.name", |
| 28 "module.host", | 29 "module.host", |
| 29 "module._log", | 30 "module._log", |