Skip to content

Commit

Permalink
🚨 Add prettier config with tailwind sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
segersniels committed Aug 5, 2024
1 parent 732c241 commit a535554
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.38",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.4",
"typescript": "^5.1.6",
"vite": "^5.1.0",
Expand Down
6 changes: 6 additions & 0 deletions apps/web/prettier.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: [require('prettier-plugin-tailwindcss')],
singleQuote: true,
semi: true,
trailingComma: 'all',
};
91 changes: 91 additions & 0 deletions package-lock.json

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

0 comments on commit a535554

Please sign in to comment.