Diff

.luacheckrc @ 8806:6529f762b819

.luacheckrc: Ignore attempts to get table.unpack This is to allow this common pattern: local unpack = table.unpack or unpack;
author Kim Alvefur <zash@zash.se>
date Sat, 19 May 2018 00:30:34 +0200
parent 8804:c12eb919db3b
child 8821:c1014eac2a1a
line wrap: on
line diff
--- a/.luacheckrc	Fri May 18 23:23:09 2018 +0200
+++ b/.luacheckrc	Sat May 19 00:30:34 2018 +0200
@@ -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