Skip to content

Commit

Permalink
[#1,#10] Add dependencies for 'yarn lint:sol' command
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Jun 18, 2023
1 parent 4f9aead commit 64c0ffa
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 7 deletions.
18 changes: 18 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": "solhint:recommended",
"plugins": ["prettier"],
"rules": {
"compiler-version": "off",
"func-visibility": [
"warn",
{
"ignoreConstructors": true
}
],
"prettier/prettier": "error",
"not-rely-on-time": "off",
"reason-string": "off",
"no-empty-blocks": "off",
"avoid-low-level-calls": "off"
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"hardhat-gas-reporter": "^1.0.8",
"prettier": "^2.8.8",
"prettier-plugin-solidity": "^1.1.3",
"solhint": "^3.4.1",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.8.0",
"ts-node": ">=8.0.0",
"typechain": "^8.1.0",
Expand Down
Loading

0 comments on commit 64c0ffa

Please sign in to comment.