A collection of lints to catch common mistakes and improve your Cairo code.
cairo-lint can either be used as a library or as a standalone binary. It can either just detect or fix the detected problems.
To use it with scarb simply install it like so:
cargo install scarb-cairo-lint --git https://github.com/software-mansion/cairo-lint
and then either run:
# Checks for bad patterns
scarb cairo-lint
# Checks and fixes what it can
scarb cairo-lint --fix
- The
--test
flag to include test files.
As for now there is only a telegram channel dedicated to cairo-lint.