diff .luacheckrc @ 2904:788f3616e6a0

luacheckrc: Rearrange options to be closer to the order used in main prosody repo
author Kim Alvefur <zash@zash.se>
date Wed, 07 Mar 2018 18:11:08 +0100
parents 59cc6f9e8e68
children b63f236a378f
line wrap: on
line diff
--- a/.luacheckrc	Wed Mar 07 17:42:38 2018 +0100
+++ b/.luacheckrc	Wed Mar 07 18:11:08 2018 +0100
@@ -1,4 +1,8 @@
 cache = true
+allow_defined_top = true
+unused_secondaries = false
+codes = true
+ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" };
 read_globals = {
 	"prosody",
 	"hosts",
@@ -77,7 +81,3 @@
 	"module.restore",
 	"module.command",
 }
-allow_defined_top = true
-unused_secondaries = false
-codes = true
-ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" };