Skip to content

Commit

Permalink
Add and configure Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
germartinez committed Oct 9, 2024
1 parent def7450 commit 6d6aee4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "none",
"tabWidth": 2,
"semi": false,
"singleQuote": true
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"format": "prettier --write './src/**/*'"
},
"dependencies": {
"@dynamic-labs/ethereum": "^3.0.3",
Expand All @@ -26,6 +27,7 @@
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"prettier": "^3.3.3",
"typescript": "^5"
}
}
22 changes: 16 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6d6aee4

Please sign in to comment.