Re-exportsยง
use crate::linter::EarlyLintPass;๐use crate::linter::LintContext;๐use crate::sol::Severity;๐use crate::sol::SolLint;๐use crate::sol::naming::check_mixed_case as check_mixed_case_pure;๐use crate::sol::naming::check_screaming_snake_case;๐use crate::sol::naming::emit_rename;๐use crate::sol::naming::has_acronym_exception;๐use foundry_config::lint::LintSpecificConfig;๐use solar::ast::FunctionHeader;๐use solar::ast::ItemFunction;๐use solar::ast::VariableDefinition;๐use solar::ast::Visibility;๐use std::sync::Arc;๐
Structsยง
- Mixed
Case ๐Pass - Checks function names when
FUNCTIONSis set, mutable variable names otherwise.
Staticsยง
Functionsยง
- check_
mixed_ ๐case - Wraps
check_mixed_case_purewith two domain exceptions: foundry test-function prefixes and user-defined infix patterns, which split the name into a lowerCamelCase prefix and an UpperCamelCase suffix (allowing leading digits). - is_
constant_ ๐getter - Heuristic for a getter of a constant:
SCREAMING_SNAKE_CASEname,public vieworexternal view, no parameters and exactly one elementary or custom-typed return value.
Type Aliasesยง
- Mixed
Case ๐Function Pass - Mixed
Case ๐Variable Pass