mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
luacheck: Ignore new warning about using variables prefixed with '_'
luacheck 0.26 considers the _ prefix as a hint that the variable or argument is unused, then warns if they are used despite this. We have several places where this prefix is used to avoid shadowing another similarly named variable, resulting in many instances of this warning.
This commit is contained in:
parent
67177ce287
commit
3721a65c80
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
cache = true
|
||||
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", "214", }
|
||||
|
||||
std = "lua53c"
|
||||
max_line_length = 150
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue