Skip to content

Commit 82007f2

Browse files
authored
chore: 자동 코드 리뷰를 위한 .coderabbit.yaml 추가
1 parent 33ad385 commit 82007f2

1 file changed

Lines changed: 86 additions & 0 deletions

File tree

.coderabbit.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# .coderabbit.yaml
2+
language: "ko-KR"
3+
early_access: false
4+
5+
# 리뷰 설정
6+
reviews:
7+
profile: "assertive" # 더 상세한 코드 리뷰를 위해 assertive로 변경
8+
request_changes_workflow: false # PR 자동 승인 비활성화로 수동 검토 강제
9+
high_level_summary: true
10+
poem: false # 시 생성 비활성화
11+
review_status: true
12+
collapse_walkthrough: false
13+
auto_review:
14+
enabled: true
15+
drafts: false
16+
17+
# 채팅 설정
18+
chat:
19+
auto_reply: true
20+
21+
# 프로젝트별 리뷰 규칙
22+
rules:
23+
# Spring Boot 관련 체크
24+
- pattern: "**/*.java"
25+
checks:
26+
- "security" # 보안 이슈 검사
27+
- "performance" # 성능 최적화 검사
28+
- "best_practices" # Spring Boot 모범 사례
29+
- "error_handling" # 예외 처리 패턴
30+
- "testing" # 테스트 커버리지 및 품질
31+
- "documentation" # JavaDoc 및 주석 품질
32+
- "naming" # 네이밍 컨벤션
33+
- "complexity" # 코드 복잡도 검사
34+
35+
# YAML/Properties 설정 파일
36+
- pattern: "**/*.{yml,yaml,properties}"
37+
checks:
38+
- "configuration" # 설정 파일 검증
39+
- "security" # 민감 정보 노출 검사
40+
- "best_practices" # 설정 모범 사례
41+
42+
# Docker 관련 파일
43+
- pattern: "**/docker-compose*.yml"
44+
checks:
45+
- "security" # Docker 보안 설정
46+
- "best_practices" # Docker Compose 모범 사례
47+
- "performance" # 리소스 최적화
48+
49+
# SQL/DB 관련 파일
50+
- pattern: "**/*.sql"
51+
checks:
52+
- "security" # SQL 인젝션 방지
53+
- "performance" # 쿼리 최적화
54+
- "best_practices" # SQL 모범 사례
55+
56+
# 제외할 파일/디렉토리
57+
exclude:
58+
- "**/*.log"
59+
- "**/target/**"
60+
- "**/build/**"
61+
- "**/.gradle/**"
62+
- "**/node_modules/**"
63+
- "**/*.min.js"
64+
- "**/*.min.css"
65+
- "**/generated/**"
66+
67+
# 특별 주의사항
68+
focus_areas:
69+
- "Spring Security 설정"
70+
- "JPA Entity 설계"
71+
- "Docker Compose 설정"
72+
- "로깅 설정"
73+
- "성능 최적화"
74+
- "예외 처리"
75+
- "API 설계"
76+
- "테스트 코드 품질"
77+
78+
# 검토 우선순위
79+
priority_files:
80+
- "**/*Config.java"
81+
- "**/*Controller.java"
82+
- "**/*Service.java"
83+
- "**/*Repository.java"
84+
- "**/application*.yml"
85+
- "**/docker-compose*.yml"
86+
- "**/Dockerfile"

0 commit comments

Comments
 (0)