# HG changeset patch # User Kim Alvefur # Date 1653922192 -7200 # Node ID 8e4033213c6269432537a6b35b4129ca09595ab7 # Parent 32bcb899526f52708cf83dc36f4f6a13b72b103a 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. diff -r 32bcb899526f -r 8e4033213c62 .luacheckrc --- a/.luacheckrc Sun May 29 16:06:42 2022 +0200 +++ b/.luacheckrc Mon May 30 16:49:52 2022 +0200 @@ -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