aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2017-09-16 10:13:39 +0100
committerMatthew Wild <mwild1@gmail.com>2017-09-16 10:13:39 +0100
commit44e570d5fe149991f5da715462d8d7d1aaf07b89 (patch)
tree8c0c4c41515ca7512ba5f3ae88af2b5a9d0f1b84 /.luacheckrc
parent94c243d8e6fe5f4fefb8ce646da137fde6bff5bc (diff)
downloadprosody-44e570d5fe149991f5da715462d8d7d1aaf07b89.tar.gz
prosody-44e570d5fe149991f5da715462d8d7d1aaf07b89.zip
.luacheckrc: Add busted globals for spec/* (thanks av6!)
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc14
1 files changed, 2 insertions, 12 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 91face3f..fcf2f000 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -89,16 +89,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"
}