Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.1.1
->^5.0.3
Release Notes
protofire/solhint (solhint)
v5.0.3
Compare Source
Fixed
v5.0.2
Compare Source
Fixed
func-named-parameters
exclude abi.encodeX from the rule #583 (Thanks to @0xCLARITY)Added
v5.0.1
Compare Source
BREAKING CHANGES (refer to v5.0.0)
Fixed an issue on the returining values where only was evaluating the first report instead of all of them.
v5.0.0
Compare Source
BREAKING CHANGES
Solhint EXIT codes
Solhint changed how the exit codes are implemented:
Exit with 0 code
When execution was ok and there were no errors when evaluating the code according to the rulesExit with 1 code
When execution was ok and there are errors reportedExit with 1 code
When execution was ok and max warnings is lower than the reported warningsExit with 255 code
When there's an error in the execution (bad config, writing not allowed, wrong parameter, file not found, etc)Solhint QUIET mode
QUIET mode (-c quiet) option now works with the warnings and may exit with 1 if there are more than defined by user
Thanks to @juanpcapurro for providing the code
v4.5.4
Compare Source
Fixed
gas-custom-errors
improved logic to ranged pragma versions #573gas-indexed-events
#573v4.5.3
Compare Source
v4.5.2
Compare Source
Updated
v4.5.1
Compare Source
v4.5.0
Compare Source
Updated
(*) Note: Solhint can work with latest Solidity versions.
If new grammar/syntax is added or changed, it could give some false positives or miss a rule.
But overall functionality will work as expected.
Added
i
#557Gas Consumption Rules
Fixed
explicit-types
logic improved and bug free #551payable fallback
Improved behavior #561BREAKING CHANGES
named-return-values
rule was renamed to gas-named-return-values and now it is part of Gas Consumption ruleset #552custom-errors
rule was renamed to gas-custom-errors and now it is part of Gas Consumption ruleset #553WARN
instead ofOFF
forfoundry-test-functions
andnamed-parameters-mapping
rules #556Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.