mirror of
https://github.com/TemujinCalidius/SurvivorCore.git
synced 2026-08-14 00:58:01 +00:00
Pin stylua, selene, and luau-lsp in rokit.toml so local dev and CI use the same versions, and add their configs (stylua.toml, selene.toml, .luaurc). Two behavior-preserving source touches make the existing scaffold pass: guard the optional iteration in Components.readAttributes (clears a luau-lsp type error) and normalize Gatherable.luau to StyLua's canonical form. Ignore the CI-fetched globalTypes.d.luau. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
13 lines
474 B
TOML
13 lines
474 B
TOML
# Selene lint configuration — CI runs `selene .` on every push/PR.
|
|
# Uses the Roblox standard library (globals like `game`, `task`, `typeof`, `warn`).
|
|
std = "roblox"
|
|
|
|
# Generated Wally/Rojo artifacts are not ours to lint.
|
|
exclude = ["Packages", "ServerPackages", "DevPackages"]
|
|
|
|
[lints]
|
|
# Roblox code legitimately leaves some values unused (e.g. connection handles);
|
|
# keep the high-signal lints and let the formatter own style.
|
|
empty_if = "warn"
|
|
unused_variable = "warn"
|