diff options
author | Kim Alvefur <zash@zash.se> | 2022-05-30 16:49:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-05-30 16:49:52 +0200 |
commit | 3721a65c808b8873280fb6303924743b3e4d4c83 (patch) | |
tree | 84ca6549a37c0d7a2c718d761861f5a847092af0 /.luacheckrc | |
parent | 67177ce287a7a35c93538d9b1c574e9ed6ca44d3 (diff) | |
download | prosody-3721a65c808b8873280fb6303924743b3e4d4c83.tar.gz prosody-3721a65c808b8873280fb6303924743b3e4d4c83.zip |
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.
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.luacheckrc b/.luacheckrc index 0c934d90..3f8c6225 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -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 |