Software / code / prosody-modules
Comparison
.luacheckrc @ 2597:805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 06 Mar 2017 00:43:06 +0100 |
| parent | 1998:7c16e0199a06 |
| child | 2598:d9022fe9749c |
comparison
equal
deleted
inserted
replaced
| 2596:ffb6646b4253 | 2597:805fa6ca062b |
|---|---|
| 1 cache = true | 1 cache = true |
| 2 read_globals = { "prosody", "hosts", "import" } | 2 read_globals = { |
| 3 "prosody", | |
| 4 "hosts", | |
| 5 "import", | |
| 6 | |
| 7 -- Module API | |
| 8 "module.add_extension", | |
| 9 "module.add_feature", | |
| 10 "module.add_identity", | |
| 11 "module.add_item", | |
| 12 "module.add_timer", | |
| 13 "module.broadcast", | |
| 14 "module.context", | |
| 15 "module.depends", | |
| 16 "module.fire_event", | |
| 17 "module.get_directory", | |
| 18 "module.get_host", | |
| 19 "module.get_host_items", | |
| 20 "module.get_host_type", | |
| 21 "module.get_name", | |
| 22 "module.get_option", | |
| 23 "module.get_option_array", | |
| 24 "module.get_option_boolean", | |
| 25 "module.get_option_inherited_set", | |
| 26 "module.get_option_number", | |
| 27 "module.get_option_path", | |
| 28 "module.get_option_set", | |
| 29 "module.get_option_string", | |
| 30 "module.handle_items", | |
| 31 "module.has_feature", | |
| 32 "module.has_identity", | |
| 33 "module.hook", | |
| 34 "module.hook_global", | |
| 35 "module.hook_object_event", | |
| 36 "module.hook_tag", | |
| 37 "module.load_resource", | |
| 38 "module.measure", | |
| 39 "module.measure_event", | |
| 40 "module.measure_global_event", | |
| 41 "module.measure_object_event", | |
| 42 "module.open_store", | |
| 43 "module.provides", | |
| 44 "module.remove_item", | |
| 45 "module.require", | |
| 46 "module.send", | |
| 47 "module.set_global", | |
| 48 "module.shared", | |
| 49 "module.unhook", | |
| 50 "module.unhook_object_event", | |
| 51 "module.wrap_event", | |
| 52 "module.wrap_global", | |
| 53 "module.wrap_object_event", | |
| 54 } | |
| 3 globals = { "_M" } | 55 globals = { "_M" } |
| 4 allow_defined_top = true | 56 allow_defined_top = true |
| 5 module = true | |
| 6 unused_secondaries = false | 57 unused_secondaries = false |
| 7 codes = true | 58 codes = true |
| 8 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "122/module" }; | 59 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" }; |