개발 도구 설정
RawTypeScript 설정
Section titled “TypeScript 설정”공통 (tsconfig.json)
Section titled “공통 (tsconfig.json)”main - 차이점
Section titled “main - 차이점”staging - 차이점
Section titled “staging - 차이점”ESLint 설정
Section titled “ESLint 설정”공통 (eslint.config.mjs - Flat Config)
Section titled “공통 (eslint.config.mjs - Flat Config)”두 브랜치 모두 ESLint 9 Flat Config 형식을 사용합니다.
- 파서:
vue-eslint-parser+@typescript-eslint/parser - 플러그인:
@typescript-eslint,perfectionist,prettier,vue - 주요 규칙:
perfectionist/sort-*(imports, objects, interfaces 정렬)prettier/prettier: error@typescript-eslint/no-explicit-any: warnvue/multi-word-component-names: off- 세미콜론 없음 (
semi: never)
staging 추가 플러그인
Section titled “staging 추가 플러그인”@stylistic/eslint-plugin(코드 스타일 규칙)
Prettier 설정
Section titled “Prettier 설정”공통 (.prettierrc.json)
Section titled “공통 (.prettierrc.json)”CSS / 스타일링
Section titled “CSS / 스타일링”main - Tailwind CSS 4 + PostCSS
Section titled “main - Tailwind CSS 4 + PostCSS”postcss.config.js:
tailwind.config.js 주요 설정:
- Dark mode: class 기반
- Preflight: 비활성화 (Bootstrap과의 충돌 방지)
- Content:
./src/**/*.{vue,js,ts,jsx,tsx} - 커스텀 색상: CSS 변수 참조 (primary, secondary, success, danger 등)
- 커스텀 폰트: Pretendard
- 플러그인:
@tailwindcss/forms
staging - Bootstrap 4 + PostCSS
Section titled “staging - Bootstrap 4 + PostCSS”postcss.config.js:
- Tailwind CSS 없음
- Bootstrap 4.6.2 + bootstrap-vue 2.21.2 사용
- SCSS 전처리