# HG changeset patch # User Kim Alvefur # Date 1526682634 -7200 # Node ID 6529f762b819211dc4db1016db11ff341a2fc00f # Parent 82d68951ec2a118b70f8b4aeee15c8e20e7cf1d4 .luacheckrc: Ignore attempts to get table.unpack This is to allow this common pattern: local unpack = table.unpack or unpack; diff -r 82d68951ec2a -r 6529f762b819 .luacheckrc --- 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