aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-05-19 00:30:34 +0200
committerKim Alvefur <zash@zash.se>2018-05-19 00:30:34 +0200
commit80e4be1a61a3675455da367e1849c952d340c063 (patch)
tree89f72624793f1f8968782095d7bffa708adc72fd /.luacheckrc
parent2298b563db7ee9e59be06f18a9650dbfc1edbbb6 (diff)
downloadprosody-80e4be1a61a3675455da367e1849c952d340c063.tar.gz
prosody-80e4be1a61a3675455da367e1849c952d340c063.zip
.luacheckrc: Ignore attempts to get table.unpack
This is to allow this common pattern: local unpack = table.unpack or unpack;
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.luacheckrc b/.luacheckrc
index b0630abb..6aff9301 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -1,7 +1,7 @@
cache = true
unused_secondaries = false
codes = true
-ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log" }
+ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", "143/table", "113/unpack" }
max_line_length = 150