aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-06 01:14:32 +0100
committerKim Alvefur <zash@zash.se>2017-03-06 01:14:32 +0100
commit0e71fac1d18b0de0e9203cb6b71c971d55c8c70c (patch)
treee58db2bf464bf09301a9c02c27330c2dba6b926d /.luacheckrc
parent2ca03f1a40ea0854e0dda798b82e31c558eed578 (diff)
parent91d2b2518f3e3d047dc43f59db3f7025d29ab86c (diff)
downloadprosody-0e71fac1d18b0de0e9203cb6b71c971d55c8c70c.tar.gz
prosody-0e71fac1d18b0de0e9203cb6b71c971d55c8c70c.zip
Merge 0.10->trunk
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 80c903c3..0040cfbb 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -7,8 +7,11 @@ unused_secondaries = false
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" };