aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc20
1 files changed, 6 insertions, 14 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 91face3f..607db06d 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -13,6 +13,10 @@ files["core/"] = {
read_globals = { "prosody", "hosts" };
globals = { "prosody.hosts.?", "hosts.?" };
}
+files["util/"] = {
+ -- Ignore unwrapped license text
+ max_comment_line_length = false;
+}
files["plugins/"] = {
read_globals = {
-- Module instance
@@ -51,8 +55,6 @@ files["plugins/"] = {
"module.get_option_set",
"module.get_option_string",
"module.handle_items",
- "module.has_feature",
- "module.has_identity",
"module.hook",
"module.hook_global",
"module.hook_object_event",
@@ -89,16 +91,6 @@ files["plugins/"] = {
"module.environment",
};
}
-files["tests/"] = {
- read_globals = {
- "testlib_new_env",
- "assert_equal",
- "assert_table",
- "assert_function",
- "assert_string",
- "assert_boolean",
- "assert_is",
- "assert_is_not",
- "runtest",
- };
+files["spec/"] = {
+ std = "+busted"
}