Files
SurvivorCore/selene.toml
T
Samuel LisonandClaude Opus 4.8 3d76332c38 Add StyLua/Selene/luau-lsp toolchain and make the scaffold lint-clean
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>
2026-06-18 18:05:33 +10:00

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"