diff --git a/configs/nodejs/coderabbit-nestjs-style.yaml b/configs/nodejs/coderabbit-nestjs-style.yaml index c9e3402..c18299a 100644 --- a/configs/nodejs/coderabbit-nestjs-style.yaml +++ b/configs/nodejs/coderabbit-nestjs-style.yaml @@ -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: diff --git a/configs/nodejs/coderabbit-nodejs-example.yaml b/configs/nodejs/coderabbit-nodejs-example.yaml new file mode 100644 index 0000000..29daae8 --- /dev/null +++ b/configs/nodejs/coderabbit-nodejs-example.yaml @@ -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