forked from shirsig/WIM
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed as not planned
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add StyLua to enforce consistent code formatting across the project.
Motivation
The project has ~6.4k lines of Lua across 23 files. A formatter would eliminate style discussions and keep formatting consistent as the codebase evolves.
Plan
- Add a
.stylua.tomlconfigured to match the current code style (indentation, line width, etc.) to minimize churn - Run initial formatting pass as a dedicated commit
- Add that commit's SHA to
.git-blame-ignore-revsto keepgit blameuseful
Notes
- The initial formatting commit will produce a large diff — this is expected and should be a one-time cost
- StyLua supports Lua 5.1 which is what WoW uses
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request