Skip to content

sui_v1.26.0_1715734759_ci

@tx-tomcat tx-tomcat tagged this 14 May 22:29
## Description 

A new lint enforces a naming convention for constants in Move programs, requiring them to follow an ALL_CAPS_SNAKE_CASE or PascalCase/UpperCamelCase format. This lint checks each constant's name within a module against this convention.

## Test plan 

New tests.

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [X] CLI: Move's `--lint` now enforces a naming convention for constants.
- [ ] Rust SDK:

Co-authored-by: jamedzung <dung.dinhnguyen@digitalavenues.com>
Assets 2
Loading