Software / code / prosody
Comparison
.luacheckrc @ 8567:93695bb1f0e7
luacheckrc: Reflow globals settings
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 07 Mar 2018 19:19:56 +0100 |
| parent | 8557:28f9b8a5d9cb |
| child | 8568:37d98a5fbb77 |
comparison
equal
deleted
inserted
replaced
| 8566:8ea66e42a27b | 8567:93695bb1f0e7 |
|---|---|
| 1 cache = true | 1 cache = true |
| 2 read_globals = { "prosody", "hosts", "import" } | |
| 3 globals = { "_M" } | 2 globals = { "_M" } |
| 4 allow_defined_top = true | 3 allow_defined_top = true |
| 5 module = true | 4 module = true |
| 6 unused_secondaries = false | 5 unused_secondaries = false |
| 7 codes = true | 6 codes = true |
| 8 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log" } | 7 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log" } |
| 9 | 8 |
| 10 max_line_length = 150 | 9 max_line_length = 150 |
| 11 | 10 |
| 11 read_globals = { | |
| 12 "prosody", | |
| 13 "hosts", | |
| 14 "import", | |
| 15 }; | |
| 12 files["core/"] = { | 16 files["core/"] = { |
| 13 read_globals = { "prosody", "hosts" }; | 17 globals = { |
| 14 globals = { "prosody.hosts.?", "hosts.?" }; | 18 "prosody.hosts.?", |
| 19 "hosts.?", | |
| 20 }; | |
| 15 } | 21 } |
| 16 files["util/"] = { | 22 files["util/"] = { |
| 17 -- Ignore unwrapped license text | 23 -- Ignore unwrapped license text |
| 18 max_comment_line_length = false; | 24 max_comment_line_length = false; |
| 19 } | 25 } |