sui icon indicating copy to clipboard operation
sui copied to clipboard

[Linter] Constant naming

Open tx-tomcat opened this issue 11 months ago • 3 comments

Description

Constant Naming 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.

Run the linter

cargo test move_check_testsuit

Testing

File testing: constant_naming.move

tx-tomcat avatar Mar 22 '24 18:03 tx-tomcat

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mysten-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 5:30pm
sui-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 5:30pm
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 5:30pm
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 5:30pm
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 5:30pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 5:30pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 5:30pm

vercel[bot] avatar Mar 22 '24 18:03 vercel[bot]

I have resolved all of these comment above

tx-tomcat avatar Apr 02 '24 16:04 tx-tomcat

This needs a test for the allow as well

cgswords avatar Apr 09 '24 20:04 cgswords

@dzungdinh94 is attempting to deploy a commit to the Mysten Labs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 14 '24 07:05 vercel[bot]