UNPKG

roblox-ts

Version:

<div align="center"><img width=25% src="https://i.imgur.com/yCjHmng.png"></div> <h1 align="center"><a href="https://roblox-ts.github.io/">roblox-ts</a></h1> <div align="center">A TypeScript-to-Lua Compiler for Roblox</div> <br> <div align="center"> <a hr

105 lines (93 loc) 1.88 kB
-- luacheck: ignore stds.roblox = { globals = { -- global functions "script", "warn", "wait", "spawn", "delay", "tick", "UserSettings", "settings", "time", "typeof", "game", "unpack", "getfenv", "setfenv", "workspace", "plugin", -- types "Axes", "BrickColor", "CFrame", "Color3", "ColorSequence", "ColorSequenceKeypoint", "Enum", "Faces", "Instance", "NumberRange", "NumberSequence", "NumberSequenceKeypoint", "PhysicalProperties", "Ray", "Random", "Rect", "Region3", "Region3int16", "TweenInfo", "UDim", "UDim2", "Vector2", "Vector3", "Vector3int16", "DockWidgetPluginGuiInfo", -- libraries "utf8", math = { fields = { "clamp", "sign", "noise", } }, debug = { fields = { "profilebegin", "profileend", "traceback", } }, string = { fields = { "split" } } } } stds.testez = { read_globals = { "describe", "it", "itFOCUS", "itSKIP", "FOCUS", "SKIP", "HACK_NO_XPCALL", "expect", } } ignore = { "212", -- Unused argument. "213", -- Unused loop variable. "421", -- Shadowing a local variable. "423", -- Shadowing a loop variable. "431", -- Shadowing an upvalue. "432", -- Shadowing an upvalue argument. } std = "lua51+roblox" files["**/*.spec.lua"] = { std = "+testez", } -- prevent max line lengths max_code_line_length = false max_string_line_length = false max_comment_line_length = false