aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
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
commit0daf5ba8554c3d07724ac97b00bc62bb14e79828 (patch)
tree0c9365263fb7e67dd97ac087f9cd7ba461e6eb92 /.luacheckrc
parenta540d613cd08b8feee096d19b727d1f5b2cab507 (diff)
downloadprosody-0daf5ba8554c3d07724ac97b00bc62bb14e79828.tar.gz
prosody-0daf5ba8554c3d07724ac97b00bc62bb14e79828.zip
.luacheckrc: Commit initial config for luacheck
Diffstat (limited to '.luacheckrc')
-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" }