No console.log/logInt/logBytesX/logString/etc & No hardhat and forge-std console.sol import statements.
count
lines but allowed no more than maxlines SOLHINT-W1004Function body contains count
lines but allowed no more than maxlines.
Function order is incorrect.
Import statements must be on top.
current
but allowed no more than maxcompl SOLHINT-W1001Function has cyclomatic complexity current
but allowed no more than maxcompl.
Forbid or enforce explicit types (like uint256) that have an alias (like uint).
some count
states declarations but allowed no more than maxstates SOLHINT-W1006Contract has some count
states declarations but allowed no more than maxstates.
Code block has zero statements inside. Exceptions apply.
Import statement includes an entire file instead of selected symbols.
Imported object name is not being used by the contract.
name
is unused SOLHINT-W1011Variable name
is unused.
Enforces the use of ONE Contract per file see here
When fallback is not payable you will not be able to receive ethers.
Require or revert statement must have a reason string and check that each reason string is at most N characters long.
Constructors should use the new constructor keyword.
Enforces the use of double or simple quotes as configured for string literals. Values must be 'single' or 'double'.
Constant name must be in capitalized SNAKE_CASE. (Does not check IMMUTABLES, use immutable-vars-naming)
Contract, Structs and Enums should be in CamelCase.
Event name must be in CamelCase.
Enforce naming convention on functions for Foundry test cases