Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions configs/nodejs/coderabbit-nestjs-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ reviews:
review_status: true
collapse_walkthrough: false
path_filters:
- "!**/.xml"
- "!**/*.xml"
path_instructions:
- path: "**/*.js"
instructions: "Review the JavaScript code for conformity with the Google JavaScript style guide, highlighting any deviations."
- path: "**/*.ts"
instructions: |
"Review the JavaScript code for conformity with the Google JavaScript style guide, highlighting any deviations. Ensure that:
Review the JavaScript code for conformity with the Google JavaScript style guide, highlighting any deviations. Ensure that:
- The code adheres to best practices associated with nodejs.
- The code adheres to best practices associated with nestjs framework.
- The code adheres to best practices recommended for performance.
- The code adheres to similar naming conventions for controllers, models, services, methods, variables."
- The code adheres to similar naming conventions for controllers, models, services, methods, variables.
auto_review:
enabled: true
ignore_title_keywords:
Expand Down
34 changes: 34 additions & 0 deletions configs/nodejs/coderabbit-nodejs-example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: "en"

early_access: false

reviews:
request_changes_workflow: true
high_level_summary: true
poem: false
review_status: true
collapse_walkthrough: false
path_filters:
- "!**/*.xml"
path_instructions:
- path: "**/*.js"
instructions: "Review the JavaScript code for conformity with the Google JavaScript style guide, highlighting any deviations."
- path: "**/*.ts"
instructions: |
Review the TypeScript code for conformity with best practices, highlighting any deviations. Ensure that:
- The code adheres to best practices associated with Node.js.
- The code adheres to best practices recommended for performance.
- The code adheres to similar naming conventions for controllers, models, services, methods, variables.
auto_review:
enabled: true
ignore_title_keywords:
- "WIP"
- "DO NOT MERGE"
drafts: false
base_branches:
- "master"
- "main"

chat:
auto_reply: true