Import and adapt .luacheckrc from Prosody 0.10
authorKim Alvefur <zash@zash.se>
Sun, 03 Jan 2016 14:11:27 +0100
changeset 2002 7c16e0199a06
parent 2001 199fb0a82c0a
child 2003 e3e76e9693a1
Import and adapt .luacheckrc from Prosody 0.10
.luacheckrc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.luacheckrc	Sun Jan 03 14:11:27 2016 +0100
@@ -0,0 +1,8 @@
+cache = true
+read_globals = { "prosody", "hosts", "import" }
+globals = { "_M" }
+allow_defined_top = true
+module = true
+unused_secondaries = false
+codes = true
+ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "122/module" };