Annotate

.luacheckrc @ 9398:7f8ba13b4dd6

mod_admin_adhoc: Remove from global luacheck ignore list
author Kim Alvefur <zash@zash.se>
date Sun, 30 Sep 2018 13:37:13 +0200
parent 9390:b749cce57f08
child 9407:0a8ddd855587
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6667
e4338c0f739a .luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 cache = true
e4338c0f739a .luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2 unused_secondaries = false
e4338c0f739a .luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 codes = true
8806
6529f762b819 .luacheckrc: Ignore attempts to get table.unpack
Kim Alvefur <zash@zash.se>
parents: 8804
diff changeset
4 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", "143/table", "113/unpack" }
6750
2a2eb30b1ed4 luacheckrc: Allow plugins to implement functions under module.* (module.load, etc.)
Matthew Wild <mwild1@gmail.com>
parents: 6667
diff changeset
5
7948
ed99a8e3c260 luacheckrc: Set max line length to 150 for now [luacheck]
Kim Alvefur <zash@zash.se>
parents: 7872
diff changeset
6 max_line_length = 150
ed99a8e3c260 luacheckrc: Set max line length to 150 for now [luacheck]
Kim Alvefur <zash@zash.se>
parents: 7872
diff changeset
7
8567
93695bb1f0e7 luacheckrc: Reflow globals settings
Kim Alvefur <zash@zash.se>
parents: 8557
diff changeset
8 read_globals = {
93695bb1f0e7 luacheckrc: Reflow globals settings
Kim Alvefur <zash@zash.se>
parents: 8557
diff changeset
9 "prosody",
93695bb1f0e7 luacheckrc: Reflow globals settings
Kim Alvefur <zash@zash.se>
parents: 8557
diff changeset
10 "import",
93695bb1f0e7 luacheckrc: Reflow globals settings
Kim Alvefur <zash@zash.se>
parents: 8557
diff changeset
11 };
8674
55807a2f5d23 luacheckrc: Only allow top level declarations in the main prosody executable
Kim Alvefur <zash@zash.se>
parents: 8582
diff changeset
12 files["prosody"] = {
55807a2f5d23 luacheckrc: Only allow top level declarations in the main prosody executable
Kim Alvefur <zash@zash.se>
parents: 8582
diff changeset
13 allow_defined_top = true;
55807a2f5d23 luacheckrc: Only allow top level declarations in the main prosody executable
Kim Alvefur <zash@zash.se>
parents: 8582
diff changeset
14 module = true;
55807a2f5d23 luacheckrc: Only allow top level declarations in the main prosody executable
Kim Alvefur <zash@zash.se>
parents: 8582
diff changeset
15 }
8678
b86f789ac9bd luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck]
Kim Alvefur <zash@zash.se>
parents: 8677
diff changeset
16 files["prosodyctl"] = {
b86f789ac9bd luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck]
Kim Alvefur <zash@zash.se>
parents: 8677
diff changeset
17 allow_defined_top = true;
b86f789ac9bd luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck]
Kim Alvefur <zash@zash.se>
parents: 8677
diff changeset
18 module = true;
b86f789ac9bd luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck]
Kim Alvefur <zash@zash.se>
parents: 8677
diff changeset
19 };
7872
3105d35cc2c2 luacheckrc: Allow mutating the global prosody and hosts tables in core/ (luacheck 0.18 adds detection of indirect mutation)
Kim Alvefur <zash@zash.se>
parents: 7479
diff changeset
20 files["core/"] = {
8567
93695bb1f0e7 luacheckrc: Reflow globals settings
Kim Alvefur <zash@zash.se>
parents: 8557
diff changeset
21 globals = {
93695bb1f0e7 luacheckrc: Reflow globals settings
Kim Alvefur <zash@zash.se>
parents: 8557
diff changeset
22 "prosody.hosts.?",
93695bb1f0e7 luacheckrc: Reflow globals settings
Kim Alvefur <zash@zash.se>
parents: 8557
diff changeset
23 };
7872
3105d35cc2c2 luacheckrc: Allow mutating the global prosody and hosts tables in core/ (luacheck 0.18 adds detection of indirect mutation)
Kim Alvefur <zash@zash.se>
parents: 7479
diff changeset
24 }
8381
7f6184474149 luacheckrc: Ignore long commets (e.g. license in util.sasl)
Kim Alvefur <zash@zash.se>
parents: 8239
diff changeset
25 files["util/"] = {
7f6184474149 luacheckrc: Ignore long commets (e.g. license in util.sasl)
Kim Alvefur <zash@zash.se>
parents: 8239
diff changeset
26 -- Ignore unwrapped license text
7f6184474149 luacheckrc: Ignore long commets (e.g. license in util.sasl)
Kim Alvefur <zash@zash.se>
parents: 8239
diff changeset
27 max_comment_line_length = false;
7f6184474149 luacheckrc: Ignore long commets (e.g. license in util.sasl)
Kim Alvefur <zash@zash.se>
parents: 8239
diff changeset
28 }
6750
2a2eb30b1ed4 luacheckrc: Allow plugins to implement functions under module.* (module.load, etc.)
Matthew Wild <mwild1@gmail.com>
parents: 6667
diff changeset
29 files["plugins/"] = {
8573
85e51205eef7 luacheckrc: Restore module semantics, but only for plugins (ignores some globals)
Kim Alvefur <zash@zash.se>
parents: 8569
diff changeset
30 module = true;
8674
55807a2f5d23 luacheckrc: Only allow top level declarations in the main prosody executable
Kim Alvefur <zash@zash.se>
parents: 8582
diff changeset
31 allow_defined_top = true;
7952
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
32 read_globals = {
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
33 -- Module instance
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
34 "module.name",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
35 "module.host",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
36 "module._log",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
37 "module.log",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
38 "module.event_handlers",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
39 "module.reloading",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
40 "module.saved_state",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
41 "module.global",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
42 "module.path",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
43
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
44 -- Module API
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
45 "module.add_extension",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
46 "module.add_feature",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
47 "module.add_identity",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
48 "module.add_item",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
49 "module.add_timer",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
50 "module.broadcast",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
51 "module.context",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
52 "module.depends",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
53 "module.fire_event",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
54 "module.get_directory",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
55 "module.get_host",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
56 "module.get_host_items",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
57 "module.get_host_type",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
58 "module.get_name",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
59 "module.get_option",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
60 "module.get_option_array",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
61 "module.get_option_boolean",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
62 "module.get_option_inherited_set",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
63 "module.get_option_number",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
64 "module.get_option_path",
7981
bbb900cfcfa5 luacheckrc: Add module:get_option_scalar to known globals
Kim Alvefur <zash@zash.se>
parents: 7953
diff changeset
65 "module.get_option_scalar",
7952
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
66 "module.get_option_set",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
67 "module.get_option_string",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
68 "module.handle_items",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
69 "module.hook",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
70 "module.hook_global",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
71 "module.hook_object_event",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
72 "module.hook_tag",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
73 "module.load_resource",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
74 "module.measure",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
75 "module.measure_event",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
76 "module.measure_global_event",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
77 "module.measure_object_event",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
78 "module.open_store",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
79 "module.provides",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
80 "module.remove_item",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
81 "module.require",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
82 "module.send",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
83 "module.set_global",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
84 "module.shared",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
85 "module.unhook",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
86 "module.unhook_object_event",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
87 "module.wrap_event",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
88 "module.wrap_global",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
89 "module.wrap_object_event",
8569
f88bd2428bc2 .luacheckrc: Add awareness of the module:http_url API added by mod_http
Kim Alvefur <zash@zash.se>
parents: 8568
diff changeset
90
f88bd2428bc2 .luacheckrc: Add awareness of the module:http_url API added by mod_http
Kim Alvefur <zash@zash.se>
parents: 8568
diff changeset
91 -- mod_http API
f88bd2428bc2 .luacheckrc: Add awareness of the module:http_url API added by mod_http
Kim Alvefur <zash@zash.se>
parents: 8568
diff changeset
92 "module.http_url",
7952
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
93 };
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
94 globals = {
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
95 -- Methods that can be set on module API
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
96 "module.unload",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
97 "module.add_host",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
98 "module.load",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
99 "module.add_host",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
100 "module.save",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
101 "module.restore",
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
102 "module.command",
8048
75e37366a03f luacheckrc: Declare module.environment as writable (thanks Link Mauve)
Kim Alvefur <zash@zash.se>
parents: 7981
diff changeset
103 "module.environment",
7952
38053bf1630d luacheckrc: Include entire module API
Kim Alvefur <zash@zash.se>
parents: 7949
diff changeset
104 };
6750
2a2eb30b1ed4 luacheckrc: Allow plugins to implement functions under module.* (module.load, etc.)
Matthew Wild <mwild1@gmail.com>
parents: 6667
diff changeset
105 }
8239
20e3d5689cce .luacheckrc: Add busted globals for spec/* (thanks av6!)
Matthew Wild <mwild1@gmail.com>
parents: 8048
diff changeset
106 files["spec/"] = {
9390
b749cce57f08 .luacheckrc: Allow randomize() global in spec/
Matthew Wild <mwild1@gmail.com>
parents: 9326
diff changeset
107 std = "+busted";
b749cce57f08 .luacheckrc: Allow randomize() global in spec/
Matthew Wild <mwild1@gmail.com>
parents: 9326
diff changeset
108 globals = { "randomize" };
7476
42d8955be784 luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents: 6986
diff changeset
109 }
8557
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
110 files["prosody.cfg.lua"] = {
8582
6a2366759974 luacheckrc: Ignore all unknown globals in config file (ie all settings)
Kim Alvefur <zash@zash.se>
parents: 8573
diff changeset
111 ignore = { "131" };
8799
7324a2fe755a .luacheckrc: Fix whitespace
Matthew Wild <mwild1@gmail.com>
parents: 8727
diff changeset
112 globals = {
8557
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
113 "Host",
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
114 "host",
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
115 "VirtualHost",
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
116 "Component",
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
117 "component",
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
118 "Include",
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
119 "include",
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
120 "RunScript"
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
121 };
28f9b8a5d9cb luacheckrc: Declare known global functions in config file
Kim Alvefur <zash@zash.se>
parents: 8533
diff changeset
122 }
8800
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
123
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
124 if os.getenv("PROSODY_STRICT_LINT") ~= "1" then
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
125 -- These files have not yet been brought up to standard
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
126 -- Do not add more files here, but do help us fix these!
8821
c1014eac2a1a .luacheckrc: Only ignore warnings for excluded files, not syntax errors
Kim Alvefur <zash@zash.se>
parents: 8806
diff changeset
127 local exclude_files = {
8800
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
128 "doc/net.server.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
129
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
130 "fallbacks/bit.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
131 "fallbacks/lxp.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
132
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
133 "net/adns.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
134 "net/cqueues.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
135 "net/dns.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
136 "net/server_select.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
137
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
138 "plugins/mod_admin_telnet.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
139 "plugins/mod_http_files.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
140 "plugins/mod_net_multiplex.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
141 "plugins/mod_privacy.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
142 "plugins/mod_s2s/mod_s2s.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
143 "plugins/mod_s2s/s2sout.lib.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
144 "plugins/mod_storage_sql1.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
145 "plugins/mod_storage_sql.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
146 "plugins/mod_websocket.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
147
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
148 "spec/core_configmanager_spec.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
149 "spec/core_moduleapi_spec.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
150 "spec/net_http_parser_spec.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
151 "spec/util_events_spec.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
152 "spec/util_http_spec.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
153 "spec/util_ip_spec.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
154 "spec/util_multitable_spec.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
155 "spec/util_rfc6724_spec.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
156 "spec/util_throttle_spec.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
157 "spec/util_xmppstream_spec.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
158
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
159 "tools/ejabberd2prosody.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
160 "tools/ejabberdsql2prosody.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
161 "tools/erlparse.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
162 "tools/jabberd14sql2prosody.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
163 "tools/migration/migrator.cfg.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
164 "tools/migration/migrator/jabberd14.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
165 "tools/migration/migrator/mtools.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
166 "tools/migration/migrator/prosody_files.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
167 "tools/migration/migrator/prosody_sql.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
168 "tools/migration/prosody-migrator.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
169 "tools/openfire2prosody.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
170 "tools/xep227toprosody.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
171
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
172 "util/sasl/digest-md5.lua";
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
173 }
8821
c1014eac2a1a .luacheckrc: Only ignore warnings for excluded files, not syntax errors
Kim Alvefur <zash@zash.se>
parents: 8806
diff changeset
174 for _, file in ipairs(exclude_files) do
c1014eac2a1a .luacheckrc: Only ignore warnings for excluded files, not syntax errors
Kim Alvefur <zash@zash.se>
parents: 8806
diff changeset
175 files[file] = { only = {} }
c1014eac2a1a .luacheckrc: Only ignore warnings for excluded files, not syntax errors
Kim Alvefur <zash@zash.se>
parents: 8806
diff changeset
176 end
8800
dd615a7a6b72 .luacheckrc: Ignore currently-unclean files unless env var PROSODY_STRICT_LINT=1
Matthew Wild <mwild1@gmail.com>
parents: 8799
diff changeset
177 end