36 lines
627 B
Lua
Executable File
36 lines
627 B
Lua
Executable File
-- .luacheckrc
|
|
-- Defines globals to prevent false positives during the sacred linting process.
|
|
read_globals = {
|
|
"require",
|
|
"print",
|
|
"io",
|
|
"os",
|
|
"string",
|
|
"table",
|
|
"math",
|
|
"pcall",
|
|
"setmetatable",
|
|
"getmetatable",
|
|
"ipairs",
|
|
"pairs",
|
|
"tonumber",
|
|
"tostring",
|
|
"type",
|
|
"next",
|
|
"rawget"
|
|
}
|
|
exclude_files = {
|
|
"lib/",
|
|
"src/"
|
|
}
|
|
-- Ignore specific, non-critical warnings by their numeric code.
|
|
-- W111: Line is too long
|
|
-- W211: Unused variable
|
|
-- W212: Unused argument
|
|
-- W213: Unused argument 'self'
|
|
ignore = {
|
|
"W111",
|
|
"W211",
|
|
"W212",
|
|
"W213"
|
|
} |