aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-06 19:35:35 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-06 19:35:35 +0100
commit5f6cc5eaeaae252477858c83944ec97cf2223cfa (patch)
tree0c9365263fb7e67dd97ac087f9cd7ba461e6eb92
parentec83b2aa91ab9142ad6e7f4d26b0f6d20853e747 (diff)
downloadprosody-5f6cc5eaeaae252477858c83944ec97cf2223cfa.tar.gz
prosody-5f6cc5eaeaae252477858c83944ec97cf2223cfa.zip
.luacheckrc: Commit initial config for luacheck
-rw-r--r--.luacheckrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
new file mode 100644
index 00000000..3f147806
--- /dev/null
+++ b/.luacheckrc
@@ -0,0 +1,8 @@
+cache = true
+read_globals = { "prosody", "hosts" }
+globals = { "_M" }
+allow_defined_top = true
+module = true
+unused_secondaries = false
+codes = true
+ignore = { "411/err", "421/err", "411/ok", "421/ok" }