From 33fe19753cbe2d35d77a354958a301c0766da9bc Mon Sep 17 00:00:00 2001 From: seongminn Date: Mon, 13 Nov 2023 18:43:00 +0900 Subject: [PATCH 1/4] =?UTF-8?q?build:=20prettier-plugin-tailwindcss=20?= =?UTF-8?q?=EC=84=A4=EC=B9=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .prettierrc | 4 +++- package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.prettierrc b/.prettierrc index 9607cea..2d979e4 100644 --- a/.prettierrc +++ b/.prettierrc @@ -6,5 +6,7 @@ "trailingComma": "all", "printWidth": 80, "arrowParens": "avoid", - "endOfLine": "auto" + "endOfLine": "auto", + + "plugins": ["prettier-plugin-tailwindcss"] } diff --git a/package.json b/package.json index 623acee..a020618 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,7 @@ "lint-staged": "^15.1.0", "postcss": "^8", "prettier": "^3.0.3", + "prettier-plugin-tailwindcss": "^0.5.7", "tailwindcss": "^3", "typescript": "^5" } diff --git a/yarn.lock b/yarn.lock index 108b061..d9fe4dc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3562,6 +3562,11 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" +prettier-plugin-tailwindcss@^0.5.7: + version "0.5.7" + resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.7.tgz#d05dc42c6f2167e3bf2c20e9f71a1fff4232b5d9" + integrity sha512-4v6uESAgwCni6YF6DwJlRaDjg9Z+al5zM4JfngcazMy4WEf/XkPS5TEQjbD+DZ5iNuG6RrKQLa/HuX2SYzC3kQ== + prettier@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643" From bdb39220f034730fb6e95bf225ccc3688770a8ee Mon Sep 17 00:00:00 2001 From: seongminn Date: Mon, 13 Nov 2023 18:44:26 +0900 Subject: [PATCH 2/4] =?UTF-8?q?refactor:=20=EC=BB=A8=EB=B2=A4=EC=85=98?= =?UTF-8?q?=EC=97=90=20=EB=A7=9E=EA=B2=8C=20tailwindcss=20className=20?= =?UTF-8?q?=EC=A0=95=EB=A0=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/admin/page.tsx | 2 +- src/app/detail/[id]/modify/page.tsx | 4 ++-- src/app/detail/[id]/page.tsx | 2 +- src/app/detail/[id]/status/page.tsx | 2 +- src/app/layout.tsx | 2 +- src/app/page.tsx | 6 +++--- src/components/common/Input/Input.tsx | 2 +- src/components/common/Select/Select.tsx | 2 +- src/components/detail/CommentItem.tsx | 6 +++--- src/components/detail/CommentList.tsx | 4 ++-- src/components/detail/GameInfo.tsx | 2 +- src/components/detail/Record.tsx | 6 +++--- src/components/home/GameItem/index.tsx | 2 +- src/components/home/GameList/GameWithTimeStamp.tsx | 2 +- 14 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index 88b6895..710b57f 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -135,7 +135,7 @@ export default function Admin() { ))} {isTeamError && ( -
팀을 다시 선택해주세요!
+
팀을 다시 선택해주세요!
)}