keep-starknet-strange/cairo-lint
A collection of lints to catch common mistakes and improve your Cairo code.
Rust
Issues
- 0
Refacto: lints
#147 opened - 0
Refacto: cli
#146 opened - 0
Refacto: fixer
#145 opened - 1
- 0
- 0
- 0
Add `ok_expect` lint
#115 opened - 0
Add `manual_expect`
#108 opened - 0
Add `manual_is_none`
#106 opened - 0
Add `manual_is_some`
#104 opened - 2
Add `min_max`
#97 opened - 5
Add `invisible_characters`
#88 opened - 2
Add `ifs_same_cond`
#87 opened - 4
Add `if_same_then_else`
#85 opened - 7
Add `bool_assert_comparison`
#82 opened - 1
Add `assertions_on_constants`
#81 opened - 6
Add `int_plus_one`
#79 opened - 4
Add `impossible_comparisons`
#76 opened - 7
Add `disallowed_methods`
#75 opened - 23
Add `comparison_to_empty`
#74 opened - 2
Add `collapsible_match`
#73 opened - 4
Add `manual_ok_or`
#72 opened - 10
Add `manual_unwrap_or_default`
#67 opened - 11
Add `manual_unwrap_or`
#66 opened - 6
Add `bitwise_for_parity_check`
#65 opened - 0
Add `panic` lint
#64 opened - 0
Add `inefficient_while_comp`
#63 opened - 3
Add `manual_assert`
#62 opened - 0
- 0
Add `useless_conversion`
#55 opened - 0
refactor multi import
#52 opened - 2
Add `collapsible_if`
#37 opened - 2
Add `bool_comparison`
#36 opened - 3
Add `loop_for_while`
#34 opened - 9
Add `unwrap_used` lint
#30 opened - 1
Add fix unused imports
#18 opened - 4
Add `erasing_op`
#17 opened - 3
Add `equatable_if_let`
#16 opened - 3
Add `eq_op`
#15 opened - 7
Add `enum_variant_names`
#14 opened - 2
Add `break_unit`
#13 opened - 6
Add `empty_enum_variants_with_brackets`
#12 opened - 2
Add `duplicate_underscore_argument`
#11 opened - 3
Add `double_parens`
#10 opened - 3
Add `double_comparison`
#9 opened - 4
Add `collapsable_if_else`
#8 opened - 4
Add `clone_on_copy` lint
#7 opened - 0
Add `loop_match_pop_front` lint
#6 opened - 5
Pretty print diagnostics
#5 opened - 3