-- luacheck configuration for strict linting std = "lua54" -- Enable all warnings max_line_length = 120 max_code_line_length = 120 max_string_line_length = false max_comment_line_length = false -- Strict unused variable checking unused = true unused_args = true unused_secondaries = true -- Ignore underscore-prefixed unused variables/functions (intentional stubs) ignore = {"21[123]/_.*"} -- Redefinition warnings redefined = true allow_defined = false allow_defined_top = false -- Global variable strictness globals = {} read_globals = {} new_globals = {} new_read_globals = {} -- Additional strict checks enable = { "631", -- max_line_length "611", -- whitespace on line consisting only of whitespace "612", -- trailing whitespace in a string "614", -- trailing whitespace in a comment "621", -- inconsistent indentation "631", -- line too long }