Skip to content

Commit

Permalink
linter+formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
FredCoen committed Mar 31, 2022
1 parent bc85ec1 commit 1d65fe2
Show file tree
Hide file tree
Showing 5 changed files with 2,956 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
cache/
out/
node_modules
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 100,
"singleQuote": true
}
11 changes: 11 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

{
"extends": ["solhint:recommended"],
"rules": {
"prettier/prettier": "error",
"avoid-throw": false,
"avoid-suicide": "error",
"avoid-sha3": "warn"
},
"plugins": ["prettier"]
}
Loading

0 comments on commit 1d65fe2

Please sign in to comment.