Skip to content

Commit

Permalink
Merge pull request #489 from protofire/20230817-pre-release-v3.6.2
Browse files Browse the repository at this point in the history
20230817-pre-release-v3.6.2
  • Loading branch information
dbale-altoros authored Aug 17, 2023
2 parents 54aade1 + f97940e commit bc522b0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## [3.6.2] - 2023-08-17
### Added
- New Rule: `one-contract-per-file` - Enforces the use of ONE contract per file [#487](https://github.com/protofire/solhint/pull/487)


### Fixed
- `foundry-test-functions` - Modified regex to include invariant and statefulFuzz tests [#484](https://github.com/protofire/solhint/pull/484)
- `quotes` - To allow quotes inside double quotes and viceversa [#485](https://github.com/protofire/solhint/pull/485)



## [3.6.1] - 2023-08-11

### BREAKING CHANGE
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/best-practises/custom-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ revert("Insufficient Balance");
```

## Version
This rule is introduced in the latest version.
This rule was introduced in [Solhint 3.6.1](https://github.com/protofire/solhint/tree/v3.6.1)

## Resources
- [Rule source](https://github.com/protofire/solhint/tree/master/lib/rules/best-practises/custom-errors.js)
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/naming/foundry-test-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function numberIs42() public {}
```

## Version
This rule is introduced in the latest version.
This rule was introduced in [Solhint 3.6.1](https://github.com/protofire/solhint/tree/v3.6.1)

## Resources
- [Rule source](https://github.com/protofire/solhint/tree/master/lib/rules/naming/foundry-test-functions.js)
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/naming/named-return-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function checkBalance(address wallet) external view returns(uint256) {}
```

## Version
This rule is introduced in the latest version.
This rule was introduced in [Solhint 3.6.1](https://github.com/protofire/solhint/tree/v3.6.1)

## Resources
- [Rule source](https://github.com/protofire/solhint/tree/master/lib/rules/naming/named-return-values.js)
Expand Down

0 comments on commit bc522b0

Please sign in to comment.