Comparison

.luacheckrc @ 12532:8e4033213c62

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.
author Kim Alvefur <zash@zash.se>
date Mon, 30 May 2022 16:49:52 +0200
parent 12298:cb459f8fa740
child 12533:875f73ead4e8
comparison
equal deleted inserted replaced
12531:32bcb899526f 12532:8e4033213c62
1 cache = true 1 cache = true
2 codes = true 2 codes = true
3 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", } 3 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", "214", }
4 4
5 std = "lua53c" 5 std = "lua53c"
6 max_line_length = 150 6 max_line_length = 150
7 7
8 read_globals = { 8 read_globals = {