Comparison

.luacheckrc @ 8800:dd615a7a6b72

.luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
author Matthew Wild <mwild1@gmail.com>
date Fri, 18 May 2018 15:01:38 +0100
parent 8799:7324a2fe755a
child 8801:a6a587df3b0e
comparison
equal deleted inserted replaced
8799:7324a2fe755a 8800:dd615a7a6b72
117 "Include", 117 "Include",
118 "include", 118 "include",
119 "RunScript" 119 "RunScript"
120 }; 120 };
121 } 121 }
122
123 if os.getenv("PROSODY_STRICT_LINT") ~= "1" then
124 -- These files have not yet been brought up to standard
125 -- Do not add more files here, but do help us fix these!
126 exclude_files = {
127 "doc/net.server.lua";
128
129 "fallbacks/bit.lua";
130 "fallbacks/lxp.lua";
131
132 "net/adns.lua";
133 "net/cqueues.lua";
134 "net/dns.lua";
135 "net/server_select.lua";
136
137 "plugins/mod_admin_adhoc.lua";
138 "plugins/mod_admin_telnet.lua";
139 "plugins/mod_announce.lua";
140 "plugins/mod_bosh.lua";
141 "plugins/mod_groups.lua";
142 "plugins/mod_http_files.lua";
143 "plugins/mod_http.lua";
144 "plugins/mod_legacyauth.lua";
145 "plugins/mod_limits.lua";
146 "plugins/mod_net_multiplex.lua";
147 "plugins/mod_pep.lua";
148 "plugins/mod_pep_plus.lua";
149 "plugins/mod_privacy.lua";
150 "plugins/mod_pubsub/pubsub.lib.lua";
151 "plugins/mod_s2s/mod_s2s.lua";
152 "plugins/mod_s2s/s2sout.lib.lua";
153 "plugins/mod_storage_sql1.lua";
154 "plugins/mod_storage_sql.lua";
155 "plugins/mod_websocket.lua";
156
157 "spec/core_configmanager_spec.lua";
158 "spec/core_moduleapi_spec.lua";
159 "spec/net_http_parser_spec.lua";
160 "spec/util_cache_spec.lua";
161 "spec/util_events_spec.lua";
162 "spec/util_http_spec.lua";
163 "spec/util_ip_spec.lua";
164 "spec/util_json_spec.lua";
165 "spec/util_multitable_spec.lua";
166 "spec/util_rfc6724_spec.lua";
167 "spec/util_throttle_spec.lua";
168 "spec/util_xmppstream_spec.lua";
169
170 "tools/ejabberd2prosody.lua";
171 "tools/ejabberdsql2prosody.lua";
172 "tools/erlparse.lua";
173 "tools/jabberd14sql2prosody.lua";
174 "tools/migration/migrator.cfg.lua";
175 "tools/migration/migrator/jabberd14.lua";
176 "tools/migration/migrator/mtools.lua";
177 "tools/migration/migrator/prosody_files.lua";
178 "tools/migration/migrator/prosody_sql.lua";
179 "tools/migration/prosody-migrator.lua";
180 "tools/openfire2prosody.lua";
181 "tools/xep227toprosody.lua";
182
183 "util/sasl/digest-md5.lua";
184 }
185 end