Skip to content

Commit

Permalink
add solhint & format
Browse files Browse the repository at this point in the history
  • Loading branch information
jordipainan committed Dec 11, 2024
1 parent 059eac2 commit 9af0fe2
Show file tree
Hide file tree
Showing 4 changed files with 1,094 additions and 91 deletions.
12 changes: 12 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "solhint:recommended",
"rules": {
"avoid-suicide": "error",
"avoid-sha3": "warn",
"max-line-length": ["warn", 120],
"quotes": ["error", "double"],
"func-visibility": ["error", { "ignoreConstructors": true }],
"state-visibility": "error",
"immutable-vars-naming": ["warn", { "immutablesAsConstants": false }]
}
}
Loading

0 comments on commit 9af0fe2

Please sign in to comment.