forked from TEAM-FLASH/Toucheese-FE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettierrc.cjs
18 lines (18 loc) ยท 867 Bytes
/
.prettierrc.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module.exports = {
// ๋ฌธ์์ด์ single quote ์ฌ์ฉ(๊ธฐ๋ณธ๊ฐ true)
singleQuote: true,
// ์ฝ๋ ๋ง์ง๋ง์ ์ธ๋ฏธ์ฝ๋ก ์ถ๊ฐ(๊ธฐ๋ณธ๊ฐ true)
semi: true,
// ๋ค์ฌ์ฐ๊ธฐ๋ฅผ ํญ์ผ๋ก ์ง์ ํ ์ง ์ฌ๋ถ(๊ธฐ๋ณธ๊ฐ false)
useTabs: false,
// ๋ค์ฌ์ฐ๊ธฐ ๋๋น 2์นธ(๊ธฐ๋ณธ๊ฐ 2)
tabWidth: 2,
// ์ฌ๋ฌ ์ค์ ์ผํ๋ก ๊ตฌ๋ถ๋ ๊ตฌ๋ฌธ ๊ตฌ์กฐ์์ ํํ ์ผํ๋ฅผ ์ถ๊ฐ(none: ์ค์ ์ํจ, es5: ๊ฐ์ฒด,๋ฐฐ์ด์ ์ค์ , all(๊ธฐ๋ณธ๊ฐ): ํจ์ ์ ์๋ ํธ์ถ ๋ฑ ๊ฐ๋ฅํ ๋ชจ๋ ๊ณณ์ ์ค์ )
trailingComma: 'all',
// ํ์ค์ 200 ๊ธ์๊ฐ ๋์ด๊ฐ๋ฉด ์ค๋ฐ๊ฟ(๊ธฐ๋ณธ๊ฐ 80)
printWidth: 100,
// ํ์ดํ ํจ์์ ๋งค๊ฐ๋ณ์๊ฐ ํ๋๋ง ์ง์ ๋ ๋ ๊ดํธ ์๋ต(always: ํญ์ ๊ดํธ ๋ช
์, avoid: ๊ฐ๋ฅํ๋ฉด ์๋ต)
arrowParens: 'always',
// windows์ ๋จ๋ 'Delete cr' ์๋ฌ ํด๊ฒฐ
endOfLine: 'auto',
};