Skip to content

Commit 1855d13

Browse files
committed
chore(test): add sample test project without solhint violations
1 parent ab83eb7 commit 1855d13

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "solhint:all"
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
pragma solidity ^0.8.0;
2+
3+
4+
contract Greeter {
5+
6+
string greeting;
7+
constructor(string memory _greeting) public {
8+
greeting = _greeting;
9+
}
10+
11+
function greet() public view returns (string memory) {
12+
return greeting;
13+
}
14+
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require("../../../src/index");
2+
3+
module.exports = {
4+
solidity: "0.5.15",
5+
};

0 commit comments

Comments
 (0)