-
Notifications
You must be signed in to change notification settings - Fork 18
/
.luacheckrc_plugin
23 lines (22 loc) · 1.28 KB
/
.luacheckrc_plugin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-- This file contains plugin specific options or tables for luacheck
-- It will be merged with cuberite's luacheck
-- Ignore variables / warning codes
-- Doc: http://luacheck.readthedocs.io/en/stable/warnings.html
ignore =
{
"122", -- Mutating read-only global variable
"131", -- Unused global variable
"142", -- Setting undefined field of global math, string, table
"143", -- Accessing undefined field of global math, table
"211", -- Unused variable
"221", -- Variable is never set
"231", -- Variable is never accessed
"311", -- Value assigned to variable is unused
"411", -- Variable was previously defined
"421", -- Shadowing definition of variable
"423", -- Shadowing definition of loop variable
"432", -- Shadowing upvalue argument
"531", -- Left-hand side of assignment is too short
"542", -- Empty if branch
"631", -- Line too long
}