Skip to content

Update dependency solhint to v3.6.2 #271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 17, 2023

This PR contains the following updates:

Package Change Age Confidence
solhint (source) 3.3.8 -> 3.6.2 age confidence

Release Notes

protofire/solhint (solhint)

v3.6.2

Compare Source

Added
  • New Rule: one-contract-per-file - Enforces the use of ONE contract per file #​487
Fixed
  • foundry-test-functions - Modified regex to include invariant and statefulFuzz tests #​484
  • quotes - To allow quotes inside double quotes and vice versa #​485
  • JSON - Formatter returning JS object instead of standard json #​490

v3.6.1

Compare Source

BREAKING CHANGE
  • RULE: not-rely-on-time was REMOVED from RECOMMENDED ruleset

    This was long overdue.

    Beware!! If you are relying on this rule and it is not explicitly configured (meaning there's only solhint:recommended option).

    You should add this rule manually:
  {
    "extends": "solhint:recommended",
    "rules": { 
        "not-rely-on-time": "warn", 
        "compiler-version": "off" 
    },
  }

If not explicitly added, this rule will not be executed.

SPECIAL ATTENTION
  • RULE: compiler-version default was updated from ^0.5.2 to ^0.8.0
Updated
  • Rule: check-send-result added config clarification in the new Notes section #​482
  • Rule: compiler-version default was updated from ^0.5.2 to ^0.8.0 #​483
Added
  • New Rule: Enforces the use of Custom Errors over Require and Revert statements #​475
  • New Rule: Enforces the test_ prefix on a file for Foundry users #​476
  • New Rule: Enforces the naming of function return values #​478
  • Notes option on docs to add more information of each rule. See foundry-test-functions. #​476
Fixed
  • func-named-parameters - false positives on builtin functions #​472
  • ordering - treat initializer weight same as constructor #​474
  • check-send-result - false positive on `erc777.send()`` function #​477
  • explicit-types - default value is now taking into account when no value is specified in config #​481
  • compiler-version - default value is now taking into account when no value is specified in config #​483

v3.5.1

Compare Source

Updated
  • Ignores empty constructors when inheriting a base contract #​418
  • Bump json5 from 2.1.3 to 2.2.3 #​376
  • Bump json-schema and jsprim #​370
  • Bump semver from 6.3.0 to 7.5.2 #​438
  • Corrected "Category" of quotes rule, added default rules list on readme #​443
  • 'Deprecated' column on `rules.md`` #​444
  • Information about maxCharacters allowed on reason-string rule #​446
  • E2E tests for max-warnings #​455
  • Replaced blacklist and whitelist words #​459
  • Removed runtime dependencies on load-rules #​462
  • Allowed $ symbol as part of naming #​465
  • Disabled no-empty-blocks rule for receive() function #​466
Added
  • New Rule: No unused imports #​417
  • New Rule: To treat immutable as constants #​458
  • New Rule: Explicit-types. To forbid/enforce full type or alias for variables declaration #​467
  • New Rule: Naming of Function parameters. Enforce arguments naming #​468
  • JSON formatter support #​440
  • Rules List with list-rules command #​449
  • E2E tests for formatters and new Compact formatter #​457
Fixed
  • maxWarnings parameter waiting review #​439
  • –fix option not working in avoid-throw rule #​442
  • Formatter option fixed for stdin command #​450

v3.4.1

Compare Source

Updated
  • Updated solidity parser to 0.16.0 #​420
Added
  • Added github workflow to execute unit tests on each PR #​412
  • Added macOS and windows into E2E github workflow #​422
Fixed
  • False positive on for-loop Yul #​400
  • Ordering-rule support for Top Level statements #​393
  • Fix no-global-import to accept named global imports #​416
  • Fix named-parameters-mapping to not enforce on nested mappings #​421

v3.4.0

Compare Source

Updated
  • Solhint dependencies to support newer versions #​380
  • Linter fixed to get clearer source code #​381
  • E2E, added formatters into repo, updated CI #​385
  • Solhint dependencies to support newer versions #​403
Added
  • New Rule: For banning "console.sol" and "import hardhat or foundry console.sol" #​372
  • New Rule: No global imports #​390
  • New Rule: Named parameters in v0.8.18 solidity version #​403
Fixed
  • TypeError: cannot read property 'errorCount' of undefined #​351
  • Directories with .sol in the name path treated as files #​352
  • Doc generator and added a CI step to avoid crashing #​389
  • Rule for banning "console.sol" and "import hardhat or foundry console.sol #​391
  • Option –quiet works now with all files #​392
  • Transfers with .call excluded from warning as low level code #​394
  • Made func-visibility skip free functions #​396
  • False positive on no-unused-vars for payable arguments without name #​399

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/solhint-3.x branch 3 times, most recently from 0a872fd to a5586f5 Compare February 28, 2023 00:18
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 2 times, most recently from 9e5298a to d81faba Compare March 7, 2023 02:45
@renovate renovate bot changed the title Update dependency solhint to v3.4.0 Update dependency solhint to v3.4.1 Mar 7, 2023
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 3 times, most recently from 26888b8 to 6725aa6 Compare March 14, 2023 01:40
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 5 times, most recently from b857936 to cf5a543 Compare March 21, 2023 13:35
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 5 times, most recently from 6431bc0 to b31c516 Compare March 30, 2023 21:47
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 4 times, most recently from b17a4d5 to 15cb277 Compare April 8, 2023 07:12
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 2 times, most recently from e92bea3 to 221c236 Compare April 17, 2023 21:40
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 3 times, most recently from d48a7ae to 478c092 Compare April 25, 2023 12:16
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 2 times, most recently from 995de6e to 76da001 Compare May 1, 2023 20:18
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 2 times, most recently from f5f7563 to 122036e Compare July 10, 2023 21:22
@renovate renovate bot changed the title Update dependency solhint to v3.4.1 Update dependency solhint to v3.5.1 Aug 4, 2023
@renovate renovate bot force-pushed the renovate/solhint-3.x branch from 122036e to 62239b2 Compare August 4, 2023 22:31
@renovate renovate bot changed the title Update dependency solhint to v3.5.1 Update dependency solhint to v3.6.1 Aug 11, 2023
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 2 times, most recently from 3322fb0 to cdd9be2 Compare August 17, 2023 23:10
@renovate renovate bot changed the title Update dependency solhint to v3.6.1 Update dependency solhint to v3.6.2 Aug 17, 2023
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 5 times, most recently from 6e5ea74 to 8d7f330 Compare January 25, 2024 19:49
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 3 times, most recently from d353906 to cb49848 Compare July 9, 2024 09:49
@renovate renovate bot changed the title Update dependency solhint to v3.6.2 Update dependency solhint to v3.6.2 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/solhint-3.x branch December 8, 2024 18:29
@renovate renovate bot changed the title Update dependency solhint to v3.6.2 - autoclosed Update dependency solhint to v3.6.2 Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/solhint-3.x branch 6 times, most recently from e96d581 to aad6615 Compare December 9, 2024 23:33
@renovate renovate bot force-pushed the renovate/solhint-3.x branch from aad6615 to a04e683 Compare April 24, 2025 18:41
@renovate renovate bot force-pushed the renovate/solhint-3.x branch from a04e683 to 9bb513c Compare April 24, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants