Mercurial > prosody-modules
annotate .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 |
parents | 7c16e0199a06 |
children | d9022fe9749c |
rev | line source |
---|---|
1998
7c16e0199a06
Import and adapt .luacheckrc from Prosody 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 cache = true |
2597
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
2 read_globals = { |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
3 "prosody", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
4 "hosts", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
5 "import", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
6 |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
7 -- Module API |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
8 "module.add_extension", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
9 "module.add_feature", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
10 "module.add_identity", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
11 "module.add_item", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
12 "module.add_timer", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
13 "module.broadcast", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
14 "module.context", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
15 "module.depends", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
16 "module.fire_event", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
17 "module.get_directory", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
18 "module.get_host", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
19 "module.get_host_items", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
20 "module.get_host_type", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
21 "module.get_name", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
22 "module.get_option", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
23 "module.get_option_array", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
24 "module.get_option_boolean", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
25 "module.get_option_inherited_set", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
26 "module.get_option_number", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
27 "module.get_option_path", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
28 "module.get_option_set", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
29 "module.get_option_string", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
30 "module.handle_items", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
31 "module.has_feature", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
32 "module.has_identity", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
33 "module.hook", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
34 "module.hook_global", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
35 "module.hook_object_event", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
36 "module.hook_tag", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
37 "module.load_resource", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
38 "module.measure", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
39 "module.measure_event", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
40 "module.measure_global_event", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
41 "module.measure_object_event", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
42 "module.open_store", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
43 "module.provides", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
44 "module.remove_item", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
45 "module.require", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
46 "module.send", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
47 "module.set_global", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
48 "module.shared", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
49 "module.unhook", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
50 "module.unhook_object_event", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
51 "module.wrap_event", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
52 "module.wrap_global", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
53 "module.wrap_object_event", |
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
54 } |
1998
7c16e0199a06
Import and adapt .luacheckrc from Prosody 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
55 globals = { "_M" } |
7c16e0199a06
Import and adapt .luacheckrc from Prosody 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
56 allow_defined_top = true |
7c16e0199a06
Import and adapt .luacheckrc from Prosody 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
57 unused_secondaries = false |
7c16e0199a06
Import and adapt .luacheckrc from Prosody 0.10
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
58 codes = true |
2597
805fa6ca062b
luacheckrc: List all module API methods (reqires luacheck 1.19)
Kim Alvefur <zash@zash.se>
parents:
1998
diff
changeset
|
59 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" }; |