Skip to content

Commit 3a68727

Browse files
authored
Merge pull request #357 from khwww/fix/prettier-config
fix: prettier 설정 통일 및 포맷팅 수정
2 parents 93e18bb + b903ade commit 3a68727

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"prettier.printWidth": 100,
2+
"prettier.requireConfig": true,
33
"[javascript]": {
44
"editor.defaultFormatter": "esbenp.prettier-vscode",
55
"editor.tabSize": 2

src/components/button/BlockBtn.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ const blockBtnVariants = cva("h-13 w-full min-w-80 max-w-screen-sm rounded-lg fl
2121
});
2222

2323
export interface BlockBtnProps
24-
extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof blockBtnVariants> {
24+
extends React.ButtonHTMLAttributes<HTMLButtonElement>,
25+
VariantProps<typeof blockBtnVariants> {
2526
onClick: () => void;
2627
children: React.ReactNode;
2728
}

src/components/button/RoundBtn.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ const roundBtnVariants = cva("h-[2.375rem] w-[6.375rem] rounded-3xl px-4 py-2.5
2323
});
2424

2525
export interface RoundBtnProps
26-
extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof roundBtnVariants> {
26+
extends React.ButtonHTMLAttributes<HTMLButtonElement>,
27+
VariantProps<typeof roundBtnVariants> {
2728
onClick?: () => void;
2829
children: React.ReactNode;
2930
}

0 commit comments

Comments
 (0)