Skip to content

[FEATURE] Implement Prettier for automated code formatting - #171

Closed
rohitkumarnaidu wants to merge 2 commits into
arghya29:devfrom
rohitkumarnaidu:feature/implement-prettier-155
Closed

[FEATURE] Implement Prettier for automated code formatting#171
rohitkumarnaidu wants to merge 2 commits into
arghya29:devfrom
rohitkumarnaidu:feature/implement-prettier-155

Conversation

@rohitkumarnaidu

Copy link
Copy Markdown
Contributor

Description

Implemented Prettier to enforce consistent code formatting across the repository. Added .prettierignore and ran the formatting script across the existing codebase.

Related Issue

Closes #155

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor
  • Tests

Screenshots (for UI changes)

N/A

Checklist

  • I have read CONTRIBUTING.md
  • My code follows the existing style
  • I have run npm test and all tests pass
  • I have run npm run lint with no errors
  • I have added/updated tests for my changes (if applicable)
  • I have tested on mobile (320px width) if this is a UI change

Copilot AI review requested due to automatic review settings July 23, 2026 15:52
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

@rohitkumarnaidu is attempting to deploy a commit to the Arghya's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 127 files, which is 27 over the limit of 100.

To get a review, narrow the scope:
• coderabbit review --committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 820c791b-f041-466a-b19f-006a2c9dbc96

📥 Commits

Reviewing files that changed from the base of the PR and between cbecb58 and a1fb7df.

📒 Files selected for processing (127)
  • .codecov.yml
  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/feature_request.md
  • .github/ISSUE_TEMPLATE/good_first_issue.md
  • .github/pull_request_template.md
  • .prettierignore
  • ARCHITECTURE.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • README.md
  • __tests__/e2e/core-flows.spec.ts
  • __tests__/unit/activity-pagination.test.ts
  • __tests__/unit/builder-delete.test.ts
  • __tests__/unit/chart-data.test.ts
  • __tests__/unit/emissions.test.ts
  • __tests__/unit/map-filters.test.ts
  • __tests__/unit/middleware.test.ts
  • __tests__/unit/responsive-table.test.tsx
  • __tests__/unit/routes-validate.test.ts
  • __tests__/unit/toast-provider.test.tsx
  • app/[locale]/(auth)/login/page.tsx
  • app/[locale]/(auth)/signup/page.tsx
  • app/[locale]/(dashboard)/analysis/page.tsx
  • app/[locale]/(dashboard)/builder/page.tsx
  • app/[locale]/(dashboard)/dashboard/page.tsx
  • app/[locale]/(dashboard)/insights/page.tsx
  • app/[locale]/(dashboard)/layout.tsx
  • app/[locale]/(dashboard)/loading.tsx
  • app/[locale]/(dashboard)/profile/page.tsx
  • app/[locale]/(dashboard)/reports/page.tsx
  • app/[locale]/(dashboard)/settings/audit/page.tsx
  • app/[locale]/(dashboard)/settings/factors/page.tsx
  • app/[locale]/(dashboard)/settings/members/page.tsx
  • app/[locale]/(dashboard)/settings/page.tsx
  • app/[locale]/(dashboard)/targets/page.tsx
  • app/[locale]/(dashboard)/upload/page.tsx
  • app/[locale]/docs/page.tsx
  • app/[locale]/error.tsx
  • app/[locale]/globals.css
  • app/[locale]/layout.tsx
  • app/[locale]/loading.tsx
  • app/[locale]/not-found.tsx
  • app/[locale]/page.tsx
  • app/api/activities/route.ts
  • app/api/auth/switch-org/route.ts
  • app/api/facilities/[id]/route.ts
  • app/api/facilities/bulk-delete/route.ts
  • app/api/factors/route.ts
  • app/api/insights/route.ts
  • app/api/org/audit/route.ts
  • app/api/org/members/route.ts
  • app/api/organizations/route.ts
  • app/api/reports/route.ts
  • app/api/routes/bulk-delete/route.ts
  • app/api/routes/route.ts
  • app/api/routes/validate.ts
  • app/api/signup/route.ts
  • app/api/suppliers/[id]/route.ts
  • app/api/suppliers/bulk-delete/route.ts
  • app/api/upload/route.ts
  • components/OrgSwitcher.tsx
  • components/analysis/activity-table.tsx
  • components/auth/login-form.tsx
  • components/builder/entity-form.tsx
  • components/builder/manage-list.tsx
  • components/charts/chart-bar.tsx
  • components/charts/chart-line.tsx
  • components/charts/chart-pie.tsx
  • components/charts/emissions-chart.tsx
  • components/charts/scope-breakdown.tsx
  • components/charts/trend-indicator.tsx
  • components/dashboard/dashboard-nav.tsx
  • components/dashboard/insight-card.tsx
  • components/graph/supply-chain-graph.tsx
  • components/insights/risk-panel.tsx
  • components/landing/interactive-demo.tsx
  • components/map/map-legend.tsx
  • components/map/map-toolbar.tsx
  • components/map/map-view-client.tsx
  • components/map/map-view.tsx
  • components/nav/LanguageSwitcher.tsx
  • components/settings/member-list.tsx
  • components/shared/live-region.tsx
  • components/shared/theme-provider.tsx
  • components/ui/ConfirmDialog.tsx
  • components/ui/Pagination.tsx
  • components/ui/ToastProvider.tsx
  • components/ui/badge.tsx
  • components/ui/button.tsx
  • components/ui/card.tsx
  • components/ui/error-display.tsx
  • components/ui/factor-row.tsx
  • components/ui/input.tsx
  • components/ui/label.tsx
  • components/ui/responsive-table.tsx
  • components/ui/tabs.tsx
  • components/ui/target-card.tsx
  • components/ui/toast-notification.tsx
  • components/upload/upload-form.tsx
  • docs/API.md
  • docs/API_SPECIFICATION.md
  • docs/ARCHITECTURE.md
  • docs/COMPONENTS.md
  • docs/DEVELOPER_GUIDE.md
  • docs/SETUP.md
  • hooks/use-api.ts
  • hooks/use-mutation.ts
  • i18n/request.ts
  • lib/api-error.ts
  • lib/csv-parser.ts
  • lib/emissions.ts
  • lib/env.ts
  • lib/insights.ts
  • lib/openapi.ts
  • lib/reports.ts
  • lib/risk-engine.ts
  • lib/session.ts
  • lib/utils/exportCsv.ts
  • lib/validations.ts
  • middleware.ts
  • next.config.js
  • prisma/seed.ts
  • scripts/reset-demo.ts
  • scripts/seed-demo.ts
  • tailwind.config.js
  • tsconfig.json
  • types/api.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@rohitkumarnaidu

Copy link
Copy Markdown
Contributor Author

Closing old duplicate - superseded by PR #172.

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.

[FEATURE] Implement Prettier for automated code formatting

2 participants