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.
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'.
Line length must be no more than maxlen.
Check that all public or external functions are override. This is iseful to make sure that the whole API is extracted in an interface.
Enforces the use of Custom Errors over Require and Revert statements