stds.roblox = {
	globals = {
		"game"
	},
	read_globals = {
		-- Roblox globals
		"script",
		"utf8",

		-- Extra functions
		"tick", "warn", "spawn",
		"wait", "settings", "typeof",
		"UserSettings",

		-- Types
		"Vector2", "Vector3",
		"Color3",
		"UDim", "UDim2",
		"Rect",
		"CFrame",
		"Enum",
		"Instance",
		"TweenInfo",

		math = {
			fields = {
				"abs", "acos", "asin", "atan", "atan2", "ceil", "clamp", "cos", "cosh",
				"deg", "exp", "floor", "fmod", "frexp", "ldexp", "log", "log10", "max", "min", "modf",
				"noise", "pow", "rad", "random", "randomseed", "sign", "sin", "sinh", "sqrt", "tan",
				"tanh", "huge", "pi"
			}
		},
	}
}

stds.testez = {
	read_globals = {
		"describe",
		"it", "itFOCUS", "itSKIP",
		"FOCUS", "SKIP", "HACK_NO_XPCALL",
		"expect",
		"Rhodium",
	}
}

ignore = {
	"311", -- value assigned to a local variable is unused
}

std = "lua51+roblox"

files["**/*.spec.lua"] = {
	std = "+testez",
}
