mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 12:45:05 +00:00
56 lines
784 B
Lua
56 lines
784 B
Lua
stds.roblox = {
|
|
read_globals = {
|
|
game = {
|
|
other_fields = true,
|
|
},
|
|
|
|
-- Roblox globals
|
|
"script",
|
|
|
|
-- Extra functions
|
|
"tick", "warn", "spawn",
|
|
"wait", "settings", "typeof",
|
|
|
|
-- Types
|
|
"Vector2", "Vector3",
|
|
"Color3",
|
|
"UDim", "UDim2",
|
|
"Rect",
|
|
"CFrame",
|
|
"Enum",
|
|
"Instance",
|
|
}
|
|
}
|
|
|
|
stds.plugin = {
|
|
read_globals = {
|
|
"plugin",
|
|
}
|
|
}
|
|
|
|
stds.testez = {
|
|
read_globals = {
|
|
"describe",
|
|
"it", "itFOCUS", "itSKIP",
|
|
"FOCUS", "SKIP", "HACK_NO_XPCALL",
|
|
"expect",
|
|
}
|
|
}
|
|
|
|
ignore = {
|
|
"212", -- unused arguments
|
|
"421", -- shadowing local variable
|
|
"422", -- shadowing argument
|
|
"431", -- shadowing upvalue
|
|
"432", -- shadowing upvalue argument
|
|
}
|
|
|
|
std = "lua51+roblox"
|
|
|
|
files["**/*.server.lua"] = {
|
|
std = "+plugin",
|
|
}
|
|
|
|
files["**/*.spec.lua"] = {
|
|
std = "+testez",
|
|
} |