Skip to content

Commit b0fd85b

Browse files
committed
Feat: 프리티어 설정
1 parent 541b278 commit b0fd85b

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.eslintrc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
{
2-
"extends": ["next/core-web-vitals", "next/typescript"]
2+
"extends": [
3+
"next/core-web-vitals",
4+
"plugin:prettier/recommended" // Prettier와 충돌 방지
5+
],
6+
"rules": {
7+
"prettier/prettier": ["error"] // Prettier의 규칙을 ESLint가 오류로 처리
8+
}
39
}

.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"semi": true,
3+
"singleQuote": false,
4+
"tabWidth": 2,
5+
"trailingComma": "es5",
6+
"printWidth": 80,
7+
"arrowParens": "always",
8+
"endOfLine": "auto"
9+
}

0 commit comments

Comments
 (0)