projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luacheckrc: Ignore assert helper functions used in tests/*
[prosody.git]
/
.luacheckrc
diff --git
a/.luacheckrc
b/.luacheckrc
index bcce11552a84e912d3e8a75c6a75dada9d406195..2fc05e7527ef1643f106d315b7a3ffc13e2d3275 100644
(file)
--- a/
.luacheckrc
+++ b/
.luacheckrc
@@
-1,5
+1,5
@@
cache = true
cache = true
-read_globals = { "prosody", "hosts" }
+read_globals = { "prosody", "hosts"
, "import"
}
globals = { "_M" }
allow_defined_top = true
module = true
globals = { "_M" }
allow_defined_top = true
module = true
@@
-10,3
+10,14
@@
ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" }
files["plugins/"] = {
ignore = { "122/module" };
}
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",
+ };
+}