From 370b0de399dff0a2f501b58bd9ae4a9bb3576527 Mon Sep 17 00:00:00 2001 From: chad-fossa <161645047+chad-fossa@users.noreply.github.com> Date: Mon, 8 Dec 2025 07:49:20 -0500 Subject: [PATCH 1/2] fix: correct YAML syntax in nodejs config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix path_filters glob pattern: `!**/.xml` → `!**/*.xml` - Remove extra quotes from instructions block scalar - Remove nestjs-specific reference (this is a general nodejs config) --- configs/nodejs/coderabbit-nestjs-style.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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: From 917e3c035e8157c141b25333247da9b1ff0217d6 Mon Sep 17 00:00:00 2001 From: chad-fossa <161645047+chad-fossa@users.noreply.github.com> Date: Mon, 8 Dec 2025 07:58:24 -0500 Subject: [PATCH 2/2] =?UTF-8?q?rename:=20coderabbit-nestjs-style.yaml=20?= =?UTF-8?q?=E2=86=92=20coderabbit-nodejs-example.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a general Node.js config, not NestJS-specific --- configs/nodejs/coderabbit-nodejs-example.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 configs/nodejs/coderabbit-nodejs-example.yaml 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