Developer Tooling
We've invested considerable effort in the developer tooling experience for users writing Luau with Lute. This section summarizes some of the tools you may want to consider using on a day to day basis.
Testing
lute test is a builtin utility for discovering and running tests. Tests are written using the @std/test library in .spec.luau or .test.luau files, in a tests/ directory and lute test will handle discovering and running these tests for you.
Linting
lute lint is a programmable linter for Luau code, shipped as part of Lute. It is programmable - you can write custom rules for your repository in Luau. It ships with a number of builtin rules, which you can run on your current directory with lute lint. For more information, check out the lint documentation!
Debugging
lute debug serve connects Luau code to development environments via the Debug Adapter Protocol, allowing for easy debugging. Features supported include breakpoints, stepping, expression evaluation, and more. Additionally, you can use the @lute/debugger library to write your own personal debugging scripts!gi For more information, check out the debug documentation.