Software /
code /
prosody
Comparison
.luacheckrc @ 12802:4a8740e01813
Merge 0.12->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 12 Dec 2022 07:10:54 +0100 |
parent | 12766:bde224616766 |
child | 12849:330bfcaa5532 |
comparison
equal
deleted
inserted
replaced
12801:ebd6b4d8bf04 | 12802:4a8740e01813 |
---|---|
1 cache = true | 1 cache = true |
2 codes = true | 2 codes = true |
3 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", "214", "581" } | 3 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", "214", "581" } |
4 | 4 |
5 std = "lua53c" | 5 std = "lua54c" |
6 max_line_length = 150 | 6 max_line_length = 150 |
7 | 7 |
8 read_globals = { | 8 read_globals = { |
9 "prosody", | 9 "prosody", |
10 "import", | 10 "import", |
60 "module.daily", | 60 "module.daily", |
61 "module.hourly", | 61 "module.hourly", |
62 "module.broadcast", | 62 "module.broadcast", |
63 "module.context", | 63 "module.context", |
64 "module.depends", | 64 "module.depends", |
65 "module.default_permission", | |
66 "module.default_permissions", | |
65 "module.fire_event", | 67 "module.fire_event", |
66 "module.get_directory", | 68 "module.get_directory", |
67 "module.get_host", | 69 "module.get_host", |
68 "module.get_host_items", | 70 "module.get_host_items", |
69 "module.get_host_type", | 71 "module.get_host_type", |
84 "module.hook_object_event", | 86 "module.hook_object_event", |
85 "module.hook_tag", | 87 "module.hook_tag", |
86 "module.load_resource", | 88 "module.load_resource", |
87 "module.log", | 89 "module.log", |
88 "module.log_status", | 90 "module.log_status", |
91 "module.may", | |
89 "module.measure", | 92 "module.measure", |
90 "module.metric", | 93 "module.metric", |
91 "module.open_store", | 94 "module.open_store", |
92 "module.provides", | 95 "module.provides", |
93 "module.remove_item", | 96 "module.remove_item", |
147 "fallbacks/lxp.lua"; | 150 "fallbacks/lxp.lua"; |
148 | 151 |
149 "net/dns.lua"; | 152 "net/dns.lua"; |
150 "net/server_select.lua"; | 153 "net/server_select.lua"; |
151 | 154 |
152 "util/vcard.lua"; | |
153 | |
154 "plugins/mod_storage_sql1.lua"; | 155 "plugins/mod_storage_sql1.lua"; |
155 | 156 |
156 "spec/core_moduleapi_spec.lua"; | 157 "spec/core_moduleapi_spec.lua"; |
157 "spec/util_http_spec.lua"; | 158 "spec/util_http_spec.lua"; |
158 "spec/util_ip_spec.lua"; | 159 "spec/util_ip_spec.lua"; |
169 "tools/migration/migrator/mtools.lua"; | 170 "tools/migration/migrator/mtools.lua"; |
170 "tools/migration/migrator/prosody_files.lua"; | 171 "tools/migration/migrator/prosody_files.lua"; |
171 "tools/migration/migrator/prosody_sql.lua"; | 172 "tools/migration/migrator/prosody_sql.lua"; |
172 "tools/migration/prosody-migrator.lua"; | 173 "tools/migration/prosody-migrator.lua"; |
173 "tools/openfire2prosody.lua"; | 174 "tools/openfire2prosody.lua"; |
175 "tools/test_mutants.sh.lua"; | |
174 "tools/xep227toprosody.lua"; | 176 "tools/xep227toprosody.lua"; |
175 } | 177 } |
176 for _, file in ipairs(exclude_files) do | 178 for _, file in ipairs(exclude_files) do |
177 files[file] = { only = {} } | 179 files[file] = { only = {} } |
178 end | 180 end |