Yutu
Yutu (玉兔) is a linter for Lua (5.4 and 5.5) inspired by Clippy.
The list of supported lints can be found here.
Example
goto foo
local a, b = 1, 2, 3
::::
if not then
print
end
Quickstart
Install yutu using cargo.
Modern Lua linter
Usage: yutu <COMMAND>
Commands:
check Checks the code for errors and warnings
init Creates a new yutu.toml configuration
list Lists all lints as markdown
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
License
Yutu is licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.