-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
32 lines (29 loc) · 1.03 KB
/
.coderabbit.yaml
File metadata and controls
32 lines (29 loc) · 1.03 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
language: "en-US"
reviews:
ignored_branches:
- "dev/test"
ignored_titles:
- "WIP"
path_filters:
- "!**/*.md"
- "!**/docs/**"
- "src/**/*.js"
- "src/**/*.jsx"
file_path_instructions:
- path: "src/**/*.{js,jsx,ts,tsx}"
instructions: |
- Components should be functional components using javascript.
- Use appropriate hooks for state management.
- Implement proper loading states for async operations.
- Follow the container/presentation pattern where applicable.
- Use Tailwind CSS classes consistently.
- Handle client-side errors gracefully with user feedback.
general_guidelines: |
- Follow javascript best practices .
- Use consistent error handling patterns.
- Implement proper authentication checks.
- Keep components and functions small and focused.
- Use meaningful variable and function names.
- Add comments for complex business logic.
- Ensure proper error messages for user feedback.
- Use environment variables for sensitive data.