aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-12-10 17:58:52 +0000
committerMatthew Wild <mwild1@gmail.com>2015-12-10 17:58:52 +0000
commit9409b787dc7d6602836f43eeafee772b79afe6a4 (patch)
treeb2b9087f67edb43a722de8136aa88d5862d46d98
parented3b57fd194ee4eebfccf5f09e3ac55011eda5a1 (diff)
downloadprosody-9409b787dc7d6602836f43eeafee772b79afe6a4.tar.gz
prosody-9409b787dc7d6602836f43eeafee772b79afe6a4.zip
.luacheckrc: Whitelist import() global function
-rw-r--r--.luacheckrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.luacheckrc b/.luacheckrc
index bcce1155..590f9c37 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -1,5 +1,5 @@
cache = true
-read_globals = { "prosody", "hosts" }
+read_globals = { "prosody", "hosts", "import" }
globals = { "_M" }
allow_defined_top = true
module = true