Skip to content

Commit

Permalink
feat: add prettier support and configure settings
Browse files Browse the repository at this point in the history
This commit introduces Prettier into the project to ensure consistent code styling. The necessary
configurations have been added and updated in several files.
  • Loading branch information
deployn committed Sep 9, 2023
1 parent fc00e7d commit 3ee82e9
Show file tree
Hide file tree
Showing 6 changed files with 515 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "next/core-web-vitals"
"extends": ["next/core-web-vitals", "plugin:prettier/recommended"]
}
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"semi": false,
"plugins": ["prettier-plugin-tailwindcss"]
}
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss"
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"eslint.enable": true,
"prettier.ignorePath": ".gitignore"
}
Loading

0 comments on commit 3ee82e9

Please sign in to comment.