Skip to content

Commit

Permalink
prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
livingrockrises committed May 16, 2023
1 parent 6c80105 commit 2213b5f
Show file tree
Hide file tree
Showing 7 changed files with 28,457 additions and 1,042 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint && git add .
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ coverage
.secret
.sol*
.eslint*
.prettierrc
.prettierignore
walletUtils.*
coverage.json
arguments.js
Expand Down
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
artifacts
cache
coverage*
gasReporterOutput.json
14 changes: 14 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
}
}
]
}
Loading

0 comments on commit 2213b5f

Please sign in to comment.