Skip to content

Add CodeRabbit configuration file (.coderabbit.yaml)#67

Closed
anshulchikhale30-p wants to merge 11 commits into
StabilityNexus:mainfrom
anshulchikhale30-p:b-chore-add-coderabbit-config
Closed

Add CodeRabbit configuration file (.coderabbit.yaml)#67
anshulchikhale30-p wants to merge 11 commits into
StabilityNexus:mainfrom
anshulchikhale30-p:b-chore-add-coderabbit-config

Conversation

@anshulchikhale30-p

@anshulchikhale30-p anshulchikhale30-p commented Feb 21, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds the standardized .coderabbit.yaml configuration file from the AOSSIE Template Repository.

Purpose

  • Enables consistent automated review behavior
  • Discourages verbose or boilerplate comments
  • Encourages concise, high-quality documentation
  • Aligns this repository with organization-wide standards

Please let me know if any repository-specific adjustments are required.

Summary by CodeRabbit

  • Chores
    • Added a comprehensive automated review configuration: automated PR replies, labeling and planning rules, pre-merge checks, enabled many static-analysis tools and linters, path-specific review guidance, and asset/security/i18n/performance prompts to standardize reviews and quality checks.
  • Documentation
    • Minor README edits: removed a trailing exclamation and an outdated copyright line; clarified the final feedback sentence.

Rewrite README to clarify scope, goals, and relation of the frontend prototype to the GSoC 2026 DIT idea.
@vercel

vercel Bot commented Feb 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
identity-tokens-evm-frontend Ready Ready Preview, Comment Mar 9, 2026 5:20pm

@coderabbitai

coderabbitai Bot commented Feb 21, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds a new .coderabbit.yaml enabling automated PR reviews, labeling, planning, analyzers, and per-path review directives; also performs minor editorial edits to README.md (removed a trailing exclamation and a copyright line).

Changes

Cohort / File(s) Summary
Configuration & Automation
​.coderabbit.yaml
Adds comprehensive CodeRabbit configuration: global settings, chat auto-reply, issue_enrichment & planning, assertive review profile, auto_review rules, pre-merge checks, path_filters, many enabled analyzers/linters, labeling_instructions, and detailed path_instructions for multiple file patterns.
Documentation
README.md
Minor editorial cleanup: removed a trailing exclamation and a copyright line; no functional changes.

Sequence Diagram(s)

sequenceDiagram
  participant Contributor
  participant GitHost as "Git Host / PR"
  participant CodeRabbit as "CodeRabbit Bot"
  participant CI as "CI / Linters"
  participant IssueTracker

  Contributor->>GitHost: Open PR / push changes
  GitHost->>CodeRabbit: Notify PR created / mention `@coderabbitai`
  CodeRabbit->>CI: Trigger configured analyzers & auto_review workflows
  CI-->>CodeRabbit: Return linting/analysis results
  CodeRabbit->>GitHost: Post review comments, labels, and status checks
  CodeRabbit->>IssueTracker: Create/enrich issues or planning items
  GitHost->>Contributor: Display review summary, labels, and status
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Poem

🐰 I hopped through YAML rows tonight,
Tucked labels, rules, and linters tight.
Bots now whisper, plans take flight,
Reviews hum softly in the light.
Carrots for CI — cozy and bright. 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title clearly and accurately summarizes the primary change: adding a CodeRabbit configuration file. The title is concise, specific, and directly reflects the main changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🧹 Nitpick comments (2)
.coderabbit.yaml (2)

88-123: Consider trimming tools to those relevant to the project's tech stack.

Several enabled tools target languages/platforms not used in this repository (Swift → swiftlint, PHP → phpstan, Go → golangci-lint, Kotlin → detekt, Docker → hadolint). While harmless (they won't fire without matching files), removing them reduces config noise and makes intent clearer. Keep eslint, biome, markdownlint, shellcheck, yamllint, gitleaks, github-checks, and languagetool.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 88 - 123, Update the tools list under the
top-level tools key in .coderabbit.yaml to remove linters irrelevant to this
repo’s tech stack: delete swiftlint, phpstan, golangci-lint, detekt, and
hadolint entries and keep the relevant tools (eslint, biome, markdownlint,
shellcheck, yamllint, gitleaks, github-checks, languagetool) so the config is
concise and intent is clear; locate and edit the section shown by the tools:
{swiftlint, phpstan, golangci-lint, detekt, hadolint} entries and remove those
blocks while leaving the remaining tool blocks unchanged.

273-280: Asset review instructions reference mobile conventions.

@2x and @3x screen-density variants (line 278) are a React Native/iOS convention. For a web frontend, consider replacing this with web-appropriate guidance such as responsive srcset usage, WebP/AVIF format preference, or SVG optimization.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 273 - 280, The asset review guidance under the
"assets/**/*" entry references mobile-specific `@2x/`@3x variants; update that
instructions block to use web-appropriate conventions: replace the `@2x/`@3x
bullet with guidance to provide responsive images via srcset/sizes and
width-based variants, prefer modern formats (WebP/AVIF) with fallbacks to
JPEG/PNG, ensure SVGs are optimized and served inline or as optimized files, and
add a note to validate font licensing and subset/woff2 delivery; keep the same
"assets/**/*" key so tooling still targets the same asset set.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.coderabbit.yaml:
- Around line 67-68: The inline comment for request_changes_workflow is
misleading: it says "just leave comments" but when request_changes_workflow:
true CodeRabbit will auto-approve the PR once comments are resolved and
pre-merge checks pass; update the inline comment to accurately describe this
behavior (e.g., "auto-approve PR when all CodeRabbit comments are resolved and
pre-merge checks pass") or change request_changes_workflow to false if you want
to prevent auto-approval (adjust the boolean at request_changes_workflow
accordingly).
- Around line 248-257: The test file matcher block currently references the
wrong testing library string ("@testing-library/react-native") for a Next.js web
frontend; update the YAML entry under the Javascript/Typescript test files block
(the line that lists "@testing-library/react-native") to use the web testing
library "@testing-library/react" so the guidance and linting/review tooling
target the correct library for the project.
- Around line 170-197: The template contains React Native/Expo-specific
directives that should be removed or replaced: remove or replace the lines
containing "Ensure that 'use client' is being used", "Use expo-secure-store for
sensitive storage", and "Validate deep linking configurations" with
Next.js/web-frontend appropriate checks; update the "Ensure that 'use client' is
being used" directive to advise App Router rules (only add "use client" to
interactive client components and never in server components), replace "Use
expo-secure-store for sensitive storage" with web-safe guidance (secure handling
of secrets: use server-side environment vars, HttpOnly cookies, and avoid
storing secrets in localStorage), and replace "Validate deep linking
configurations" with routing/security checks relevant to Next.js (route
validation, open-redirects, and deep-link handling in web context); ensure the
file references the actual stack (Next.js, React, wagmi, ethers.js) and remove
any Expo/React Native-specific mentions.
- Around line 152-166: The YAML uses an unsupported top-level property
"instructions" under the "reviews" object (which has additionalProperties:
false), so the block will be ignored; fix this by removing "instructions" from
under "reviews" and moving those directives into the "path_instructions" section
(or another schema-approved place) using a catch-all glob like "**" to apply
them globally, or update the schema-compliant property per the latest CodeRabbit
docs; ensure you reference the "reviews" object, the "instructions" block, and
"path_instructions" when making the change.

In `@README.md`:
- Line 186: Add a terminal period to the sentence "We appreciate your feedback
and contributions" in the README so it ends with a period (i.e., change it to
"We appreciate your feedback and contributions.").

---

Nitpick comments:
In @.coderabbit.yaml:
- Around line 88-123: Update the tools list under the top-level tools key in
.coderabbit.yaml to remove linters irrelevant to this repo’s tech stack: delete
swiftlint, phpstan, golangci-lint, detekt, and hadolint entries and keep the
relevant tools (eslint, biome, markdownlint, shellcheck, yamllint, gitleaks,
github-checks, languagetool) so the config is concise and intent is clear;
locate and edit the section shown by the tools: {swiftlint, phpstan,
golangci-lint, detekt, hadolint} entries and remove those blocks while leaving
the remaining tool blocks unchanged.
- Around line 273-280: The asset review guidance under the "assets/**/*" entry
references mobile-specific `@2x/`@3x variants; update that instructions block to
use web-appropriate conventions: replace the `@2x/`@3x bullet with guidance to
provide responsive images via srcset/sizes and width-based variants, prefer
modern formats (WebP/AVIF) with fallbacks to JPEG/PNG, ensure SVGs are optimized
and served inline or as optimized files, and add a note to validate font
licensing and subset/woff2 delivery; keep the same "assets/**/*" key so tooling
still targets the same asset set.

Comment thread .coderabbit.yaml
Comment thread .coderabbit.yaml
Comment thread .coderabbit.yaml
Comment thread .coderabbit.yaml
Comment thread README.md Outdated
@KanishkSogani

Copy link
Copy Markdown
Member

@anshulchikhale30-p can you please fix all the issues pointed out by code rabbit first.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@anshulchikhale30-p

Copy link
Copy Markdown
Contributor Author

Ok

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (2)
.coderabbit.yaml (2)

67-68: ⚠️ Potential issue | 🟠 Major

The request_changes_workflow comment is still backwards.

true does not “just leave comments”; it enables CodeRabbit’s auto-approval flow once its comments are resolved and pre-merge checks pass. If the intent is comments-only, set this to false or update the comment to match the actual behavior.

#!/bin/bash
set -euo pipefail
curl -s https://coderabbit.ai/integrations/schema.v2.json | python -c '
import json, sys
data = json.load(sys.stdin)
print(data["definitions"]["schema"]["properties"]["reviews"]["properties"]["request_changes_workflow"]["description"])
'
Expected: the description mentions automatic approval after comments are resolved and pre-merge checks pass.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 67 - 68, The YAML key request_changes_workflow
is set to true but the inline comment incorrectly says it will “just leave
comments”; update the value or the comment so they match: either change
request_changes_workflow to false to keep comments-only behavior, or keep it
true and modify the comment to state that CodeRabbit will auto-approve once
comments are resolved and pre-merge checks pass; locate the
request_changes_workflow entry in .coderabbit.yaml and make the value/comment
consistent.

172-193: ⚠️ Potential issue | 🟠 Major

This JS/TS review block still contains mobile-template guidance.

Lines 175-176 will create false positives for App Router server components, and Lines 192-193 reference Expo/mobile concerns that do not fit a Next.js web frontend. Replace these with web-specific guidance around client/server boundaries, secure server-side secret handling, and route/open-redirect validation.

✏️ Targeted replacement
-        - Ensure that "use client" is being used
-        - Ensure that only features that allow pure client-side rendering are used
+        - In the App Router, add "use client" only to interactive client components; keep server components server-only
+        - Prefer server components/rendering by default, and move interactivity into client components only when needed
...
-        - Use expo-secure-store for sensitive storage
-        - Validate deep linking configurations
+        - Keep secrets server-side, prefer HttpOnly cookies for session data, and avoid storing secrets in localStorage
+        - Validate route params, redirects, and URL-driven navigation to prevent open redirects and unsafe routing
#!/bin/bash
set -euo pipefail
python - <<'PY'
import json
from pathlib import Path

for path in Path(".").rglob("package.json"):
    if "node_modules" in path.parts:
        continue
    try:
        data = json.loads(path.read_text())
    except Exception:
        continue
    deps = {**data.get("dependencies", {}), **data.get("devDependencies", {})}
    found = {k: deps[k] for k in ("next", "react", "expo", "react-native", "wagmi", "ethers") if k in deps}
    if found:
        print(path)
        for name, version in found.items():
            print(f"  {name}: {version}")
PY
Expected: Next.js/React (and likely wagmi/ethers) are present, while Expo/React Native are not.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 172 - 193, The JS/TS review block includes
mobile-specific guidance that causes false positives: remove or replace the
lines containing "The code adheres to best practices associated with React PWA"
and "Use expo-secure-store for sensitive storage" (and any Expo/React Native
mentions) and instead add web-specific checks: guidance about client/server
boundaries for Next.js (e.g., enforce "use client" only in client components and
validate server components are pure), secure server-side secret handling
(require secrets only on server and avoid exposing env vars to client), and
route/open-redirect validation (ensure API route authorization and validate
redirect targets). Update the YAML instructions under the "**/*.{ts,tsx,js,jsx}"
block accordingly.
🧹 Nitpick comments (1)
.coderabbit.yaml (1)

7-8: Disable early_access until you need a specific preview feature.

The comment says this repo is not using any early-access capability, so leaving this true opts the review flow into experimental behavior for no stated benefit.

🔧 Suggested change
-early_access: true
+early_access: false
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 7 - 8, The repo currently enables experimental
review behavior by setting the top-level YAML key early_access: true; change
this to early_access: false (or remove the key entirely) so the review flow does
not opt into experimental features until a specific preview is required; update
the .coderabbit.yaml entry for early_access accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.coderabbit.yaml:
- Around line 156-158: The YAML key path_instructions is malformed: replace the
current mapping with a proper list item so that path_instructions contains an
entry (e.g., a list of mappings) rather than directly indenting path and
instructions; locate the path_instructions block in .coderabbit.yaml and
restructure it so a dash starts the list item and the nested keys path and
instructions are indented under that list item (refer to the path_instructions,
path, and instructions symbols to find the section).

---

Duplicate comments:
In @.coderabbit.yaml:
- Around line 67-68: The YAML key request_changes_workflow is set to true but
the inline comment incorrectly says it will “just leave comments”; update the
value or the comment so they match: either change request_changes_workflow to
false to keep comments-only behavior, or keep it true and modify the comment to
state that CodeRabbit will auto-approve once comments are resolved and pre-merge
checks pass; locate the request_changes_workflow entry in .coderabbit.yaml and
make the value/comment consistent.
- Around line 172-193: The JS/TS review block includes mobile-specific guidance
that causes false positives: remove or replace the lines containing "The code
adheres to best practices associated with React PWA" and "Use expo-secure-store
for sensitive storage" (and any Expo/React Native mentions) and instead add
web-specific checks: guidance about client/server boundaries for Next.js (e.g.,
enforce "use client" only in client components and validate server components
are pure), secure server-side secret handling (require secrets only on server
and avoid exposing env vars to client), and route/open-redirect validation
(ensure API route authorization and validate redirect targets). Update the YAML
instructions under the "**/*.{ts,tsx,js,jsx}" block accordingly.

---

Nitpick comments:
In @.coderabbit.yaml:
- Around line 7-8: The repo currently enables experimental review behavior by
setting the top-level YAML key early_access: true; change this to early_access:
false (or remove the key entirely) so the review flow does not opt into
experimental features until a specific preview is required; update the
.coderabbit.yaml entry for early_access accordingly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 36c06b04-e555-413b-9a77-cfbf64575993

📥 Commits

Reviewing files that changed from the base of the PR and between b44a154 and f429c5d.

📒 Files selected for processing (1)
  • .coderabbit.yaml

Comment thread .coderabbit.yaml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (3)
.coderabbit.yaml (3)

67-68: ⚠️ Potential issue | 🟡 Minor

Misleading inline comment persists.

The comment says "just leave comments," but request_changes_workflow: true auto-approves the PR once all CodeRabbit comments are resolved and pre-merge checks pass. This appears to still be present despite being marked as addressed in a previous review.

,

✏️ Suggested fix
-  # Automatically request changes on the PR (just leave comments)
+  # Request changes on the PR and auto-approve once all CodeRabbit comments
+  # are resolved and pre-merge checks pass
   request_changes_workflow: true
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 67 - 68, The inline comment next to
request_changes_workflow is misleading; update the comment to accurately reflect
the behavior of request_changes_workflow: when set to true CodeRabbit will
auto-approve the PR once all CodeRabbit comments are resolved and pre-merge
checks pass (or alternatively set request_changes_workflow to false if you want
only comments and no auto-approval). Modify the comment near the
request_changes_workflow setting to state the correct behavior and/or change the
boolean if the intended behavior is different so the setting and comment are
consistent.

156-170: ⚠️ Potential issue | 🔴 Critical

Critical: path_instructions is still malformed and breaks YAML parsing.

The first entry at line 157 is missing the list item dash (-), while subsequent entries at line 172 onwards are proper list items. This inconsistency causes a YAML syntax error, preventing CodeRabbit from loading this configuration.

Static analysis confirms: syntax error: expected <block end>, but found '-' at line 172.

,

🔧 Required fix
   # Custom review instructions for specific file patterns
   path_instructions:
-    path: "**"
-    instructions: |
+    - path: "**"
+      instructions: |
       - Verify that documentation and comments are free of spelling mistakes
       - Ensure that test code is automated, comprehensive, and follows testing best practices
       - Verify that all critical functionality is covered by tests
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 156 - 170, The YAML under the
path_instructions entry is malformed because the first list item in the
instructions block is missing the leading dash; update the instructions block
(the value of path_instructions -> instructions) so every bullet is a proper
YAML list item by adding the missing "-" to the first line and ensure consistent
indentation and list formatting for all subsequent lines to fix parsing errors
when loading path_instructions (check the instructions string under the path and
instructions keys).

172-199: ⚠️ Potential issue | 🟠 Major

React Native/Expo-specific directives still present in TypeScript/JavaScript instructions.

Despite being flagged in a previous review, the following issues remain:

  • Line 175: "use client" guidance is too broad. In Next.js App Router, only interactive components need "use client"; server components must NOT use it. This will generate false positives.
  • Line 192: expo-secure-store is a React Native/Expo API, not applicable to web.
  • Line 193: Deep linking validation is primarily a mobile concern.

,

✏️ Suggested fixes for Next.js web frontend
       NextJS:
-      - Ensure that "use client" is being used
+      - Ensure that "use client" is only added to interactive client components (not server components)
       - Ensure that only features that allow pure client-side rendering are used
       - NextJS best practices (including file structure, API routes, and static generation methods) are used.
       Security:
       - No exposed API keys or sensitive data
-      - Use expo-secure-store for sensitive storage
-      - Validate deep linking configurations
+      - Store secrets server-side using environment variables; never expose in client bundles
+      - Use HttpOnly cookies for sensitive session data; avoid localStorage for secrets
       - Check for common security vulnerabilities such as:
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 172 - 199, The configuration mixes React
Native/Expo rules into web TypeScript/JavaScript targets; update the rules so
Next.js-specific guidance clarifies that the `"use client"` note applies only to
interactive components in the App Router (do not instruct blanket usage), remove
or conditionally scope the `expo-secure-store` requirement from the web target,
and move deep linking validation into a separate mobile/Expo rule set (or flag
it only for RN/Expo paths). Locate the strings `"use client"`,
`expo-secure-store`, and "deep linking" in the current instructions and refactor
the YAML so web/frontend targets contain only web/Next.js/TypeScript
best-practices while mobile-specific checks live under a distinct RN/Expo path.
🧹 Nitpick comments (1)
.coderabbit.yaml (1)

79-86: Path filters contain React Native/Expo-specific directories not applicable to this project.

Lines 82-85 exclude android, ios, .expo, and .expo-shared directories, which are React Native/Expo-specific and don't exist in this Next.js web frontend. While harmless, consider removing them for clarity:

♻️ Suggested cleanup
   # Exclude these paths from reviews (build artifacts and dependencies)
   path_filters:
     - "!**/node_modules/**" # npm dependencies
-    - "!**/android/**" # Native Android build files
-    - "!**/ios/**" # Native iOS build files
-    - "!**/.expo/**" # Expo build cache
-    - "!**/.expo-shared/**" # Expo shared config
     - "!**/dist/**" # Build output
+    - "!**/.next/**" # Next.js build output
+    - "!**/out/**" # Next.js static export
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yaml around lines 79 - 86, The path_filters list contains
Expo/React Native-specific exclusions ("!**/android/**", "!**/ios/**",
"!**/.expo/**", "!**/.expo-shared/**") that are not relevant for this Next.js
web frontend; remove those four entries from the path_filters array so only
applicable build/dependency paths (e.g., "!**/node_modules/**", "!**/dist/**")
remain, keeping the rest of the .coderabbit.yaml configuration unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In @.coderabbit.yaml:
- Around line 67-68: The inline comment next to request_changes_workflow is
misleading; update the comment to accurately reflect the behavior of
request_changes_workflow: when set to true CodeRabbit will auto-approve the PR
once all CodeRabbit comments are resolved and pre-merge checks pass (or
alternatively set request_changes_workflow to false if you want only comments
and no auto-approval). Modify the comment near the request_changes_workflow
setting to state the correct behavior and/or change the boolean if the intended
behavior is different so the setting and comment are consistent.
- Around line 156-170: The YAML under the path_instructions entry is malformed
because the first list item in the instructions block is missing the leading
dash; update the instructions block (the value of path_instructions ->
instructions) so every bullet is a proper YAML list item by adding the missing
"-" to the first line and ensure consistent indentation and list formatting for
all subsequent lines to fix parsing errors when loading path_instructions (check
the instructions string under the path and instructions keys).
- Around line 172-199: The configuration mixes React Native/Expo rules into web
TypeScript/JavaScript targets; update the rules so Next.js-specific guidance
clarifies that the `"use client"` note applies only to interactive components in
the App Router (do not instruct blanket usage), remove or conditionally scope
the `expo-secure-store` requirement from the web target, and move deep linking
validation into a separate mobile/Expo rule set (or flag it only for RN/Expo
paths). Locate the strings `"use client"`, `expo-secure-store`, and "deep
linking" in the current instructions and refactor the YAML so web/frontend
targets contain only web/Next.js/TypeScript best-practices while mobile-specific
checks live under a distinct RN/Expo path.

---

Nitpick comments:
In @.coderabbit.yaml:
- Around line 79-86: The path_filters list contains Expo/React Native-specific
exclusions ("!**/android/**", "!**/ios/**", "!**/.expo/**",
"!**/.expo-shared/**") that are not relevant for this Next.js web frontend;
remove those four entries from the path_filters array so only applicable
build/dependency paths (e.g., "!**/node_modules/**", "!**/dist/**") remain,
keeping the rest of the .coderabbit.yaml configuration unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 868bd8df-0d53-4f5b-8698-870dbad43f8d

📥 Commits

Reviewing files that changed from the base of the PR and between f429c5d and 8ef886d.

📒 Files selected for processing (1)
  • .coderabbit.yaml

@KanishkSogani

Copy link
Copy Markdown
Member

@anshulchikhale30-p its still failing 1 github test.

@anshulchikhale30-p anshulchikhale30-p left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See

@anshulchikhale30-p anshulchikhale30-p deleted the b-chore-add-coderabbit-config branch March 9, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants