Skip to content

Commit

Permalink
Merge pull request #75 from open-ibc/thomas/add-solhint
Browse files Browse the repository at this point in the history
add solidity linter solhint
  • Loading branch information
tmsdkeys authored Apr 12, 2024
2 parents b6535be + 6e5429a commit d284e48
Show file tree
Hide file tree
Showing 4 changed files with 853 additions and 58 deletions.
23 changes: 23 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"extends": "solhint:all",
"rules":{
"compiler-version": ["error", "^0.8.0"],
"const-name-snakecase": "error",
"constructor-syntax": "error",
"no-global-import" : ["error"],
"custom-errors": ["error"],
"no-inline-assembly": "off",
"named-return-values": ["error"],
"private-vars-leading-underscore": ["error"],
"ordering": ["error"],
"func-visibility": [
"error",
{
"ignoreConstructors": true
}

],
"max-line-length": ["error", 160]
}

}
Loading

0 comments on commit d284e48

Please sign in to comment.