Skip to content

Commit 879e2f1

Browse files
authored
Merge pull request #287 from DaleStudy/212-prettier
212 prettier ์„ค์น˜ ๋ฐ github action ํ†ตํ•ฉ
2 parents 91747cc + bed20c9 commit 879e2f1

File tree

10 files changed

+53
-36
lines changed

10 files changed

+53
-36
lines changed
Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
## ๋ณ€๊ฒฝ ์‚ฌํ•ญ
2-
- ๋ฌด์—‡์„ ๋ณ€๊ฒฝํ–ˆ๋‚˜์š”? (์˜ˆ: ์ƒˆ ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€, ๋””์ž์ธ ์ˆ˜์ •, ๋ฌธ์„œ ์—…๋ฐ์ดํŠธ)
3-
-
2+
3+
- ๋ฌด์—‡์„ ๋ณ€๊ฒฝํ–ˆ๋‚˜์š”? (์˜ˆ: ์ƒˆ ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€, ๋””์ž์ธ ์ˆ˜์ •, ๋ฌธ์„œ ์—…๋ฐ์ดํŠธ)
4+
5+
-
46

57
## ๋ชฉ์ 
6-
- ์™œ ์ด ๋ณ€๊ฒฝ์ด ํ•„์š”ํ•œ๊ฐ€์š”? (์˜ˆ: ์ ‘๊ทผ์„ฑ ๊ฐœ์„ , ์‚ฌ์šฉ์ž ๊ฒฝํ—˜ ํ–ฅ์ƒ)
7-
-
8+
9+
- ์™œ ์ด ๋ณ€๊ฒฝ์ด ํ•„์š”ํ•œ๊ฐ€์š”? (์˜ˆ: ์ ‘๊ทผ์„ฑ ๊ฐœ์„ , ์‚ฌ์šฉ์ž ๊ฒฝํ—˜ ํ–ฅ์ƒ)
10+
11+
-
812

913
## ๋ฆฌ๋ทฐ์–ด์—๊ฒŒ
10-
- ํŠน๋ณ„ํžˆ ํ™•์ธํ•ด ์ฃผ์…จ์œผ๋ฉด ํ•˜๋Š” ๋ถ€๋ถ„์ด ์žˆ๋‚˜์š”? (์˜ˆ: ํ˜ธ๋ฒ„ ์ƒํƒœ, ๋ชจ๋ฐ”์ผ ๋ทฐํฌํŠธ)
11-
-
14+
15+
- ํŠน๋ณ„ํžˆ ํ™•์ธํ•ด ์ฃผ์…จ์œผ๋ฉด ํ•˜๋Š” ๋ถ€๋ถ„์ด ์žˆ๋‚˜์š”? (์˜ˆ: ํ˜ธ๋ฒ„ ์ƒํƒœ, ๋ชจ๋ฐ”์ผ ๋ทฐํฌํŠธ)
16+
17+
-

โ€Ž.github/workflows/integration.ymlโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: oven-sh/setup-bun@v2
1212
- run: bun install
13+
- run: bun run format
1314
- run: bun run lint
1415
- run: bun run test run
1516
- run: bun run build

โ€Ž.prettierignoreโ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# ๋นŒ๋“œ ๊ฒฐ๊ณผ๋ฌผ
2+
dist/
3+
4+
# ์ด๋ฏธ์ง€, ํฐํŠธ, ๋ฐ”์ด๋„ˆ๋ฆฌ
5+
*.svg

โ€ŽCODE_OF_CONDUCT.mdโ€Ž

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
1717
Examples of behavior that contributes to a positive environment for our
1818
community include:
1919

20-
* Demonstrating empathy and kindness toward other people
21-
* Being respectful of differing opinions, viewpoints, and experiences
22-
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
2424
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
25+
- Focusing on what is best not just for us as individuals, but for the
2626
overall community
2727

2828
Examples of unacceptable behavior include:
2929

30-
* The use of sexualized language or imagery, and sexual attention or
30+
- The use of sexualized language or imagery, and sexual attention or
3131
advances of any kind
32-
* Trolling, insulting or derogatory comments, and personal or political attacks
33-
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email
3535
address, without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
36+
- Other conduct which could reasonably be considered inappropriate in a
3737
professional setting
3838

3939
## Enforcement Responsibilities
@@ -105,7 +105,7 @@ Violating these terms may lead to a permanent ban.
105105
### 4. Permanent Ban
106106

107107
**Community Impact**: Demonstrating a pattern of violation of community
108-
standards, including sustained inappropriate behavior, harassment of an
108+
standards, including sustained inappropriate behavior, harassment of an
109109
individual, or aggression toward or disparagement of classes of individuals.
110110

111111
**Consequence**: A permanent ban from any sort of public interaction within

โ€Žbun.lockโ€Ž

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

โ€Žeslint.config.jsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ export default tseslint.config(
2424
{ allowConstantExport: true },
2525
],
2626
},
27-
}
27+
},
2828
);

โ€Žpackage.jsonโ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"scripts": {
1616
"dev": "vite",
1717
"build": "tsc -b && vite build",
18+
"format": "prettier --check .",
1819
"lint": "eslint .",
1920
"test": "vitest",
2021
"preview": "vite preview",
@@ -62,6 +63,7 @@
6263
"eslint-plugin-storybook": "^0.12.0",
6364
"globals": "^16.1.0",
6465
"happy-dom": "^17.4.7",
66+
"prettier": "^3.5.3",
6567
"storybook": "^8.6.14",
6668
"typescript": "^5.8.3",
6769
"typescript-eslint": "^8.32.1",

โ€Žsrc/components/Text/Text.tsxโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const Text = ({
3838
css.raw({
3939
fontSize: size,
4040
fontWeight: weight,
41-
})
41+
}),
4242
)}
4343
{...rest}
4444
>

โ€Žsrc/main.tsxโ€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { StrictMode } from 'react'
2-
import { createRoot } from 'react-dom/client'
3-
import App from './App.tsx'
4-
import './index.css'
1+
import { StrictMode } from "react";
2+
import { createRoot } from "react-dom/client";
3+
import App from "./App.tsx";
4+
import "./index.css";
55

6-
createRoot(document.getElementById('root')!).render(
6+
createRoot(document.getElementById("root")!).render(
77
<StrictMode>
88
<App />
99
</StrictMode>,
10-
)
10+
);

โ€Žsrc/tokens/colors.mdxโ€Ž

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ import { colors, semanticColors } from "./colors.ts";
1010
title="์ดˆ๋ก"
1111
subtitle="colors.teal"
1212
colors={Object.fromEntries(
13-
Object.entries(colors.teal).map(([name, { value }]) => [name, value])
13+
Object.entries(colors.teal).map(([name, { value }]) => [name, value]),
1414
)}
1515
/>
1616
<ColorItem
1717
title="์ดˆ๋ก (dark)"
1818
subtitle="colors.tealDark"
1919
colors={Object.fromEntries(
20-
Object.entries(colors.tealDark).map(([name, { value }]) => [name, value])
20+
Object.entries(colors.tealDark).map(([name, { value }]) => [name, value]),
2121
)}
2222
/>
2323
<ColorItem
2424
title="๋ณด๋ผ"
2525
subtitle="colors.violet"
2626
colors={Object.fromEntries(
27-
Object.entries(colors.violet).map(([name, { value }]) => [name, value])
27+
Object.entries(colors.violet).map(([name, { value }]) => [name, value]),
2828
)}
2929
/>
3030
<ColorItem
@@ -34,28 +34,28 @@ import { colors, semanticColors } from "./colors.ts";
3434
Object.entries(colors.violetDark).map(([name, { value }]) => [
3535
name,
3636
value,
37-
])
37+
]),
3838
)}
3939
/>
4040
<ColorItem
4141
title="๋นจ๊ฐ•"
4242
subtitle="colors.red"
4343
colors={Object.fromEntries(
44-
Object.entries(colors.red).map(([name, { value }]) => [name, value])
44+
Object.entries(colors.red).map(([name, { value }]) => [name, value]),
4545
)}
4646
/>
4747
<ColorItem
4848
title="๋นจ๊ฐ• (dark)"
4949
subtitle="colors.redDark"
5050
colors={Object.fromEntries(
51-
Object.entries(colors.redDark).map(([name, { value }]) => [name, value])
51+
Object.entries(colors.redDark).map(([name, { value }]) => [name, value]),
5252
)}
5353
/>
5454
<ColorItem
5555
title="๋…ธ๋ž‘"
5656
subtitle="colors.yellow"
5757
colors={Object.fromEntries(
58-
Object.entries(colors.yellow).map(([name, { value }]) => [name, value])
58+
Object.entries(colors.yellow).map(([name, { value }]) => [name, value]),
5959
)}
6060
/>
6161
<ColorItem
@@ -65,21 +65,21 @@ import { colors, semanticColors } from "./colors.ts";
6565
Object.entries(colors.yellowDark).map(([name, { value }]) => [
6666
name,
6767
value,
68-
])
68+
]),
6969
)}
7070
/>
7171
<ColorItem
7272
title="ํšŒ์ƒ‰"
7373
subtitle="colors.gray"
7474
colors={Object.fromEntries(
75-
Object.entries(colors.gray).map(([name, { value }]) => [name, value])
75+
Object.entries(colors.gray).map(([name, { value }]) => [name, value]),
7676
)}
7777
/>
7878
<ColorItem
7979
title="ํšŒ์ƒ‰ (dark)"
8080
subtitle="colors.grayDark"
8181
colors={Object.fromEntries(
82-
Object.entries(colors.grayDark).map(([name, { value }]) => [name, value])
82+
Object.entries(colors.grayDark).map(([name, { value }]) => [name, value]),
8383
)}
8484
/>
8585
</ColorPalette>

0 commit comments

Comments
ย (0)