Skip to content
Snippets Groups Projects
Commit 2ed06651 authored by Gleb Kashkin's avatar Gleb Kashkin Committed by Igor Munkin
Browse files

lua: exclude _ prefix loop vars from unused check

Update luacheckrc to suppress all warnings from lua loop vars with `_`
prefix. This allows to make loops more verbose.

Closes #8006

NO_CHANGELOG=luacheckrc fix
NO_DOC=luacheckrc fix
NO_TEST=luacheckrc fix
parent be73ba47
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,8 @@ ignore = {
"432",
-- Unused variable with `_` prefix.
"212/_.*",
-- Unused loop variable with `_` prefix.
"213/_.*",
}
include_files = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment