Diff

.luacheckrc @ 7950:f91e7ec9654e

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 06 Mar 2017 01:14:32 +0100
parent 7949:8acc35b5355a
child 7952:38053bf1630d
line wrap: on
line diff
--- a/.luacheckrc	Fri Mar 03 11:52:22 2017 +0100
+++ b/.luacheckrc	Mon Mar 06 01:14:32 2017 +0100
@@ -7,8 +7,11 @@
 codes = true
 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" }
 
+max_line_length = 150
+
 files["core/"] = {
-	ignore = { "122/prosody", "122/hosts" };
+	read_globals = { "prosody", "hosts" };
+	globals = { "prosody.hosts.?", "hosts.?" };
 }
 files["plugins/"] = {
 	globals = { "module" };