aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
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" };