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
365 B
TOML
13 lines
365 B
TOML
# StyLua formatting rules — CI runs `stylua --check` on every push/PR.
|
|
# Tabs match the existing source; format with `stylua src demo` before committing.
|
|
column_width = 120
|
|
line_endings = "Unix"
|
|
indent_type = "Tabs"
|
|
indent_width = 4
|
|
quote_style = "AutoPreferDouble"
|
|
call_parentheses = "Always"
|
|
collapse_simple_statement = "Never"
|
|
|
|
[sort_requires]
|
|
enabled = false
|