Skip to content

chore: standardize formatting with stylua#1

Merged
marcosdanielr merged 2 commits into
mainfrom
chore/code-formatting
Jul 9, 2026
Merged

chore: standardize formatting with stylua#1
marcosdanielr merged 2 commits into
mainfrom
chore/code-formatting

Conversation

@marcosdanielr

Copy link
Copy Markdown
Member

Introduces automated Lua formatting with stylua (pure-Lua project, no Rust).

What

  • Add stylua.toml pinned to the existing style (4-space indent, double quotes, expanded blocks).
  • Add make fmt / make fmt-check targets.
  • Add a fmt CI job that fails on unformatted Lua.
  • Apply stylua across jsonwebtoken/ and spec/.

Notes

  • Formatting-only sweep is isolated in its own commit; tooling/config in another.
  • Specs green (88 passing) after the reformat.

Pin stylua to spaces/double-quotes to match the existing style, add
make fmt / fmt-check targets, and a CI job that fails on unformatted Lua.
@marcosdanielr
marcosdanielr merged commit 29184af into main Jul 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant