-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.coderabbit.yml
More file actions
73 lines (67 loc) ยท 2.57 KB
/
.coderabbit.yml
File metadata and controls
73 lines (67 loc) ยท 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# .coderabbit.yml
language: "ko-KR"
early_access: false
reviews:
profile: "chill"
request_changes_workflow: false
high_level_summary: true
collapse_walkthrough: false
auto_review:
enabled: true
drafts: false
base_branches: [".*"]
commit_status: true
fail_commit_status: false
poem: true
sequence_diagram: true
path_filters:
- "!**/node_modules/**"
- "!**/.gradle/**"
- "!**/.idea/**"
- "!**/build/**"
- "!**/dist/**"
- "!**/out/**"
- "!**/*.log"
- "!**/coverage/**"
- "backend/**"
- "android/**"
instructions:
- paths: ["backend/**"]
body: |
# Backend ๊ท์น
- ํ์ผ ๋ ๊ฐํ
- class ์ ์ธ ํ ๊ฐํ, static/๋นstatic ๊ตฌ๋ถ
- record ํ๋ ๊ฐํ, ๋ฐ๋ ์์ผ๋ฉด ๊ฐํ X
- ๋ชจ๋ ํ๋ผ๋ฏธํฐยท์ง์ญ๋ณ์ final, ํ๋ผ๋ฏธํฐ ๊ฐํ
- ์กฐ๊ฑด๋ฌธ: ์กฐ๊ฑด์/๋ฉ์๋๋ง ์ฌ์ฉ (boolean ์ถ์ถ X)
- ํ
์คํธ: ๋ฉ์๋๋ช
`๋ฉ์๋๋ช
_ํ
์คํธ์ผ์ด์ค`, @DisplayName, given/when/then, @Nested, @Autowired ์ฌ์ด ๊ณต๋ฐฑ
- Controller ๋ฐ Domain ํ
์คํธ๋ @Nested ์ ์ฉํ์ง ์์๋ ๋จ
- Lombok ์ด๋
ธํ
์ด์
์ ๋ค๋ฅธ ๊ฒ๋ณด๋ค ํ์
- DTO ์ด๋ฆ: ๋์ฌ+๋๋ฉ์ธ+Request/Response
- @Transactional: ๋ฉ์๋ ๋ ๋ฒจ
- ๋ฉ์๋ ์์: public static โ private static โ public โ private
- ๋ด๋ถ ๋ฉ์๋ ์ ๋ ฌ: RCUD
- equals: instanceOf + getter
- ์ฟผ๋ฆฌ/๋ฉํฐ๋ผ์ธ ๋ฌธ์์ด: Text Blocks
- paths: ["android/**"]
body: |
# Android Kotlin ๊ท์น
- ๋๋ค ๋ณ์๋ช
๋ช
์, 3์คโ ์ค๋ณต ์ ์์ ๊ฐ์ฒด ์ง์ ๋๋ค
- ํ๋ผ๋ฏธํฐ 2๊ฐโ ์ค๋ฐ๊ฟ
- if: ํ ์ค์ด๋ฉด ์ค๊ดํธ ์๋ต
- when: ์กฐ๊ฑด ์ฌ๋ฌ ๊ฐ๋ฉด ์ค๋ฐ๊ฟ
- onViewCreated: setupObserver โ setupUI โ setupListener ์์, ์ ์ธ๋ ํธ์ถ ์์๋๋ก
- ํจํค์ง๋ช
: ์๋ฌธ์, `_` ๊ธ์ง
- ํจ์๋ช
: setupXXX/fetchXXX/saveXXX/getXXX/findXXX, ๋ณต์๋ s
- ViewModel: SavedStateHandle ์ฒซ ์ธ์
- UseCase: ๋จ์ผ ๊ธฐ๋ฅ, ๋ฆฌ์คํธ ๋ฐํ์ GetXXXListUseCase + getXXXs
- paths: ["android/**"]
body: |
# Android XML ๊ท์น
## Layout: activity_/fragment_/dialog_/view_/item_/layout_
## ID: tv_/iv_/cb_/rv_/et_/pb_/fl_/nsv_/space_/switch_/custom_view
## Drawable: btn_/ic_/bg_/img_/div_ + ์ํ suffix(_normal/_pressed/โฆ)
## Dimension: space_x_small/โฆ , height_xxx, size_xxx
## String: all_ prefix(๊ณตํต), \n ์ค๋ฐ๊ฟ
## Theme/Style: theme.xml, style.xml, ํญ์ parent ์ง์
- Base.Theme โ BottariTheme ๊ตฌ์กฐ ์ฌ์ฉ