-- .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'
-- The pattern '*' applies the rules to every file luacheck analyzes.
ignore = {
    ['*'] = {
        "W111", -- line is too long
        "W211", -- unused variable
        "W212", -- unused argument
        "W213"  -- unused argument 'self'
    }
}