aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-07-08 19:20:49 +0200
committerKim Alvefur <zash@zash.se>2016-07-08 19:20:49 +0200
commit9741bdfb3887695e7021d793ce6a96eaf595ed2b (patch)
tree721e3f0fed3aed6e2c57c02290b5f2f13149c038 /.luacheckrc
parent45af943ce3ac3fac7d9f8f8e68b0f0f28b31f6bd (diff)
downloadprosody-9741bdfb3887695e7021d793ce6a96eaf595ed2b.tar.gz
prosody-9741bdfb3887695e7021d793ce6a96eaf595ed2b.zip
luacheckrc: Ignore assert helper functions used in tests/*
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 590f9c37..2fc05e75 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -10,3 +10,14 @@ ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" }
files["plugins/"] = {
ignore = { "122/module" };
}
+files["tests/"] = {
+ ignore = {
+ "113/assert_equal",
+ "113/assert_table",
+ "113/assert_function",
+ "113/assert_string",
+ "113/assert_boolean",
+ "113/assert_is",
+ "113/assert_is_not",
+ };
+}