changeset 1998:7c16e0199a06

Import and adapt .luacheckrc from Prosody 0.10
author Kim Alvefur <zash@zash.se>
date Sun, 03 Jan 2016 14:11:27 +0100
parents 199fb0a82c0a
children e3e76e9693a1
files .luacheckrc
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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" };