mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
.luacheckrc: Ignore attempts to get table.unpack
This is to allow this common pattern: local unpack = table.unpack or unpack;
This commit is contained in:
parent
fb6acc56d3
commit
3120037b03
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue