Skip to content

Commit 0e4d3ee

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

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-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,16 @@
1+
pragma solidity ^0.5.8;
2+
3+
4+
contract Greeter {
5+
6+
string greeting;
7+
string bad;
8+
constructor(string memory _greeting) public {
9+
greeting = _greeting;
10+
}
11+
12+
function greet() public view returns (string memory) {
13+
return greeting;
14+
}
15+
16+
}
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)