Software /
code /
prosody
Comparison
.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 |
comparison
equal
deleted
inserted
replaced
8805:82d68951ec2a | 8806:6529f762b819 |
---|---|
1 cache = true | 1 cache = true |
2 unused_secondaries = false | 2 unused_secondaries = false |
3 codes = true | 3 codes = true |
4 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log" } | 4 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", "143/table", "113/unpack" } |
5 | 5 |
6 max_line_length = 150 | 6 max_line_length = 150 |
7 | 7 |
8 read_globals = { | 8 read_globals = { |
9 "prosody", | 9 "prosody", |