aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-06 18:56:22 +0200
committerKim Alvefur <zash@zash.se>2018-10-06 18:56:22 +0200
commit7eb517cfb57be0b34750a2ed4d3ba81b6b518367 (patch)
treee9d627534cc04da9dfdaf9a00e1f93ff4b229752 /.luacheckrc
parent1939a861ee67287173f95ac89797458266d5ddcb (diff)
downloadprosody-7eb517cfb57be0b34750a2ed4d3ba81b6b518367.tar.gz
prosody-7eb517cfb57be0b34750a2ed4d3ba81b6b518367.zip
.luacheckrc: Ignore unused secondaries in non-strict mode
Previous commit was backwards
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 00006d33..862f7c76 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -1,5 +1,4 @@
cache = true
-unused_secondaries = false
codes = true
ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", "143/table", "113/unpack" }
@@ -124,7 +123,8 @@ files["prosody.cfg.lua"] = {
if os.getenv("PROSODY_STRICT_LINT") ~= "1" then
-- These files have not yet been brought up to standard
-- Do not add more files here, but do help us fix these!
- unused_secondaries = true
+ unused_secondaries = false
+
local exclude_files = {
"doc/net.server.lua";