Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 773 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 773 Bytes

Cairo lint

A collection of lints to catch common mistakes and improve your Cairo code.

Quick start

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

Features

  • The --test flag to include test files.

Community

As for now there is only a telegram channel dedicated to cairo-lint.