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
commitca65f0d2d3718301b880c0260c991cd8ee7977ae (patch)
treee58db2bf464bf09301a9c02c27330c2dba6b926d /.luacheckrc
parentb133b78d47ff180110b0b29612d3cd257a9972c1 (diff)
parente45c5961ac42007aa6c9282afddff91cd1e27124 (diff)
downloadprosody-ca65f0d2d3718301b880c0260c991cd8ee7977ae.tar.gz
prosody-ca65f0d2d3718301b880c0260c991cd8ee7977ae.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" };