Expand description
Naming-convention helpers shared by Solidity lints.
Each check_* returns Some(suggestion) when s violates the convention,
None when it already matches. Leading/trailing underscores are preserved.
Functionsยง
- check_
mixed_ case Some(suggestion)ifsis notmixedCase. Pure check โ domain exceptions (test-prefixes, allowed patterns, โฆ) live in the lint.- check_
pascal_ case Some(suggestion)ifsis notPascalCase.- check_
screaming_ snake_ case Some(suggestion)ifsis notSCREAMING_SNAKE_CASE.- preserve_
underscores ๐