3 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", }
13 allow_defined_top = true;
16 files["prosodyctl"] = {
17 allow_defined_top = true;
26 -- Ignore unwrapped license text
27 max_comment_line_length = false;
31 allow_defined_top = true;
37 "module.event_handlers",
44 "module.add_extension",
46 "module.add_identity",
53 "module.get_directory",
55 "module.get_host_items",
56 "module.get_host_type",
59 "module.get_option_array",
60 "module.get_option_boolean",
61 "module.get_option_inherited_set",
62 "module.get_option_number",
63 "module.get_option_path",
64 "module.get_option_scalar",
65 "module.get_option_set",
66 "module.get_option_string",
68 "module.handle_items",
71 "module.hook_object_event",
73 "module.load_resource",
77 "module.measure_event",
78 "module.measure_global_event",
79 "module.measure_object_event",
90 "module.unhook_object_event",
93 "module.wrap_object_event",
99 -- Methods that can be set on module API
107 "module.environment",
112 globals = { "randomize" };
114 files["prosody.cfg.lua"] = {
128 if os.getenv("PROSODY_STRICT_LINT") ~= "1" then
129 -- These files have not yet been brought up to standard
130 -- Do not add more files here, but do help us fix these!
131 unused_secondaries = false
133 local exclude_files = {
134 "doc/net.server.lua";
141 "net/server_select.lua";
143 "plugins/mod_storage_sql1.lua";
145 "spec/core_configmanager_spec.lua";
146 "spec/core_moduleapi_spec.lua";
147 "spec/net_http_parser_spec.lua";
148 "spec/util_events_spec.lua";
149 "spec/util_http_spec.lua";
150 "spec/util_ip_spec.lua";
151 "spec/util_multitable_spec.lua";
152 "spec/util_rfc6724_spec.lua";
153 "spec/util_throttle_spec.lua";
154 "spec/util_xmppstream_spec.lua";
156 "tools/ejabberd2prosody.lua";
157 "tools/ejabberdsql2prosody.lua";
158 "tools/erlparse.lua";
159 "tools/jabberd14sql2prosody.lua";
160 "tools/migration/migrator.cfg.lua";
161 "tools/migration/migrator/jabberd14.lua";
162 "tools/migration/migrator/mtools.lua";
163 "tools/migration/migrator/prosody_files.lua";
164 "tools/migration/migrator/prosody_sql.lua";
165 "tools/migration/prosody-migrator.lua";
166 "tools/openfire2prosody.lua";
167 "tools/xep227toprosody.lua";
169 "util/sasl/digest-md5.lua";
171 for _, file in ipairs(exclude_files) do
172 files[file] = { only = {} }