JohnnyMorganz/StyLua
A Lua code formatter observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 97
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 30
- age_days: 2087
- days_rel: 109
- days_push: 23
- n_releases_24m: 12
Adoption not part of the score
2284 stars · 108 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
StyLua is a deterministic, opinionated code formatter for Lua and its dialects (Lua 5.1-5.4, LuaJIT, Luau, CfxLua), written in Rust and built on the full-moon parser. It parses code and reprints it from scratch to enforce a consistent style, similar to Prettier.
Use cases
- format lua code
- enforce consistent lua code style
- format luau scripts for roblox
- add lua formatting to ci pipeline
- set up pre-commit hook for lua formatting
- auto-format lua files in editor
When to choose
- you write Lua or Luau and want Prettier-like deterministic formatting
- you need CI or pre-commit integration for Lua style enforcement
- you work across multiple Lua dialects including LuaJIT and FiveM
When to avoid
- you need a configurable formatter with many style presets rather than an opinionated one
- your project is not Lua-based
Facets
cli-tool · maturity active
formatter cli parser developer-tools programming-languages cli windows rust lua luau code-style prettier-inspired pre-commit roblox command-line linux macos
2 sources
- readme: https://github.com/JohnnyMorganz/StyLua · fetched 2026-08-28 · c5982d80274c
- registry_crates: https://crates.io/api/v1/crates/stylua · fetched 2026-08-29 · 7b5109762c86
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| JohnnyMorganz/StyLua | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="JohnnyMorganz/StyLua")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem