# Description
Detects empty `else` branches in conditional structures, suggesting
their removal for cleaner code.
Aims to flag potentially unnecessary or unimplemented placeholders
within `if-else` statements.
Encourages code clarity and maintainability by eliminating redundant
branches.
# Run the linter
```
cargo test move_check_testsuit
```
# Testing
File testing: needless_else.move
## Release notes
- [ ] Protocol:
- [ ] Nodes (Validators and Full nodes):
- [ ] Indexer:
- [ ] JSON-RPC:
- [ ] GraphQL:
- [ ] CLI:
- [ ] Rust SDK:
---------
Co-authored-by: jamedzung <dung.dinhnguyen@digitalavenues.com>
Co-authored-by: Todd Nowacki <tmn@mystenlabs.com>