Skip to content

refactor: convert function declarations to arrow functions#1788

Open
brunod-e wants to merge 1 commit intodevfrom
refactor/eslint-arrow-functions
Open

refactor: convert function declarations to arrow functions#1788
brunod-e wants to merge 1 commit intodevfrom
refactor/eslint-arrow-functions

Conversation

@brunod-e
Copy link
Copy Markdown
Collaborator

No description provided.

@brunod-e brunod-e self-assigned this Mar 27, 2026
Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

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

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.

Once credits are available, push a new commit or reopen this pull request to trigger a review.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

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

Project Deployment Actions Updated (UTC)
anticapture Ready Ready Preview, Comment Mar 27, 2026 4:49pm
anticapture-storybook Ready Ready Preview, Comment Mar 27, 2026 4:49pm

Request Review

@claude
Copy link
Copy Markdown

claude bot commented Mar 27, 2026

Claude encountered an error —— View job


I'll analyze this and get back to you.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c484c7ce8c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

],

// Enforce arrow-function expressions over function declarations
"func-style": ["error", "expression"],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Limit func-style enforcement to fully migrated code

Applying "func-style": ["error", "expression"] to all apps/dashboard/**/* files makes every remaining function declaration a hard lint error, but this commit does not migrate all of them (for example apps/dashboard/app/contact/page.tsx, apps/dashboard/app/layout.tsx, and apps/dashboard/app/robots.ts still use function declarations). In any workflow that runs repo linting, this change will fail CI immediately and block unrelated work until a full migration is completed or the rule is scoped down.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

although I'm not sue why is this PR even needed, this should be fixed

@pikonha pikonha self-requested a review March 30, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants