mirror of
https://github.com/vacp2p/foundry-template.git
synced 2025-02-17 17:57:01 +00:00
refactor: change pragma to ">=0.8.18"
This commit is contained in:
parent
94d778dafb
commit
a3a2d3d951
@ -2,7 +2,7 @@
|
|||||||
"extends": "solhint:recommended",
|
"extends": "solhint:recommended",
|
||||||
"rules": {
|
"rules": {
|
||||||
"code-complexity": ["error", 8],
|
"code-complexity": ["error", 8],
|
||||||
"compiler-version": ["error", ">=0.8.4"],
|
"compiler-version": ["error", ">=0.8.18"],
|
||||||
"func-name-mixedcase": "off",
|
"func-name-mixedcase": "off",
|
||||||
"func-visibility": ["error", { "ignoreConstructors": true }],
|
"func-visibility": ["error", { "ignoreConstructors": true }],
|
||||||
"max-line-length": ["error", 120],
|
"max-line-length": ["error", 120],
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: UNLICENSED
|
// SPDX-License-Identifier: UNLICENSED
|
||||||
pragma solidity >=0.8.4;
|
pragma solidity >=0.8.18;
|
||||||
|
|
||||||
import { Script } from "forge-std/Script.sol";
|
import { Script } from "forge-std/Script.sol";
|
||||||
import { Foo } from "../src/Foo.sol";
|
import { Foo } from "../src/Foo.sol";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: UNLICENSED
|
// SPDX-License-Identifier: UNLICENSED
|
||||||
pragma solidity >=0.8.4;
|
pragma solidity >=0.8.18;
|
||||||
|
|
||||||
contract Foo {
|
contract Foo {
|
||||||
// solhint-disable-previous-line no-empty-blocks
|
// solhint-disable-previous-line no-empty-blocks
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: UNLICENSED
|
// SPDX-License-Identifier: UNLICENSED
|
||||||
pragma solidity >=0.8.4;
|
pragma solidity >=0.8.18;
|
||||||
|
|
||||||
import { PRBTest } from "@prb/test/PRBTest.sol";
|
import { PRBTest } from "@prb/test/PRBTest.sol";
|
||||||
import { console2 } from "forge-std/console2.sol";
|
import { console2 } from "forge-std/console2.sol";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user