.luacheckrc: Commit initial config for luacheck
authorMatthew Wild <mwild1@gmail.com>
Wed, 6 May 2015 18:35:35 +0000 (19:35 +0100)
committerMatthew Wild <mwild1@gmail.com>
Wed, 6 May 2015 18:35:35 +0000 (19:35 +0100)
.luacheckrc [new file with mode: 0644]

diff --git a/.luacheckrc b/.luacheckrc
new file mode 100644 (file)
index 0000000..3f14780
--- /dev/null
@@ -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" }