Skip to content

Commit 3788524

Browse files
fix sol lint
1 parent 009bf4a commit 3788524

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.solhint.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "solhint:recommended"
2+
"extends": "solhint:recommended",
3+
"rules": {
4+
"no-global-import": "off",
5+
"func-visibility": ["warn", { "ignoreConstructors": true }]
6+
}
37
}

contracts/RIFTokenTest.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// SPDX-License-Identifier: UNLICENSED
2-
pragma solidity ^0.4.24;
2+
pragma solidity ^0.4.24.0;
33

44
import "rif-token-contracts/contracts/RIF/RIFToken.sol";

contracts/VeRIFToken.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ contract VeRIFToken is
3535

3636
// The following functions are overrides required by Solidity.
3737

38+
//solhint-disable-next-line no-empty-blocks
3839
function _authorizeUpgrade(address newImplementation) internal override onlyOwner {}
3940

4041
function decimals() public view override(ERC20Upgradeable, ERC20WrapperUpgradeable) returns (uint8) {

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -901,9 +901,9 @@
901901
config-chain "^1.1.11"
902902

903903
"@scure/base@~1.1.0", "@scure/base@~1.1.6":
904-
version "1.1.6"
905-
resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.6.tgz#8ce5d304b436e4c84f896e0550c83e4d88cb917d"
906-
integrity sha512-ok9AWwhcgYuGG3Zfhyqg+zwl+Wn5uE+dwC0NV/2qQkx4dABbb/bx96vWu8NSj+BNjjSjno+JRYRjle1jV08k3g==
904+
version "1.1.7"
905+
resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.7.tgz#fe973311a5c6267846aa131bc72e96c5d40d2b30"
906+
integrity sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==
907907

908908
"@scure/bip32@1.1.5":
909909
version "1.1.5"

0 commit comments

Comments
 (0)