Configuring luacheck to be a little more reasonable part 3
Skyweave CI Rituals / Rite of Static Scrutiny (Luacheck) (push) Failing after 6s
Skyweave CI Rituals / Rite of Static Scrutiny (Luacheck) (push) Failing after 6s
This commit is contained in:
+8
-11
@@ -24,16 +24,13 @@ exclude_files = {
|
|||||||
"src/"
|
"src/"
|
||||||
}
|
}
|
||||||
-- Ignore specific, non-critical warnings by their numeric code.
|
-- Ignore specific, non-critical warnings by their numeric code.
|
||||||
-- W111: Line is too long
|
-- 111: Line is too long
|
||||||
-- W211: Unused variable
|
-- 211: Unused variable
|
||||||
-- W212: Unused argument
|
-- 212: Unused argument
|
||||||
-- W213: Unused argument 'self'
|
-- 213: Unused argument 'self'
|
||||||
-- The pattern '*' applies the rules to every file luacheck analyzes.
|
|
||||||
ignore = {
|
ignore = {
|
||||||
['*'] = {
|
"111",
|
||||||
"W111", -- line is too long
|
"211",
|
||||||
"W211", -- unused variable
|
"212",
|
||||||
"W212", -- unused argument
|
"213"
|
||||||
"W213" -- unused argument 'self'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user