Skip to content

Commit

Permalink
Merge branch 'develop' into exclude-abi-calls-from-named-parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCLARITY committed Jun 28, 2024
2 parents b9530be + 13c6c11 commit 8490cc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/rules/naming/named-parameters-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mapping(string name => uint256 balance) public users;
mapping(address owner => mapping(address token => uint256 balance)) public tokenBalances;
```

#### Main key of mapping is enforced. On nested mappings other naming are not neccesary
#### Main key of mapping is enforced. On nested mappings other naming are not necessary

```solidity
mapping(address owner => mapping(address => uint256)) public tokenBalances;
Expand Down
2 changes: 1 addition & 1 deletion e2e/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('e2e', function () {
const PATH = '03-no-empty-blocks'
const { PREFIX, SUFFIX } = prepareContext(PATH)

it('No contracts to lint should fail with appropiate message', function () {
it('No contracts to lint should fail with appropriate message', function () {
const { code, stderr } = shell.exec(`${NODE}solhint Foo1.sol ${SUFFIX}`)

expect(code).to.equal(EXIT_CODES.BAD_OPTIONS)
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/naming/named-parameters-mapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const meta = {
},
{
description:
'Main key of mapping is enforced. On nested mappings other naming are not neccesary',
'Main key of mapping is enforced. On nested mappings other naming are not necessary',
code: 'mapping(address owner => mapping(address => uint256)) public tokenBalances;',
},
{
Expand Down

0 comments on commit 8490cc3

Please sign in to comment.