Skip to content

[lexical-website] Set prettier arrowParens to avoid#8397

Merged
etrepum merged 3 commits intomainfrom
prettier
Apr 27, 2026
Merged

[lexical-website] Set prettier arrowParens to avoid#8397
etrepum merged 3 commits intomainfrom
prettier

Conversation

@potatowagon
Copy link
Copy Markdown
Contributor

@potatowagon potatowagon commented Apr 27, 2026

Summary

  • Update .prettierrc to set arrowParens: "avoid", removing unnecessary parentheses from single-parameter arrow functions
  • Apply formatting repo-wide (355 files, mechanical parens removal)
  • why: fix prettier failure on www sync diff

Test plan

  • Prettier pre-commit hook passes with the new config

Update .prettierrc to use arrowParens: "avoid" and apply formatting to docusaurus.config.ts.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 27, 2026

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

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview, Comment Apr 27, 2026 9:48am
lexical-playground Ready Ready Preview, Comment Apr 27, 2026 9:48am

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 27, 2026
Mechanical reformatting — removes unnecessary parentheses from
single-parameter arrow functions to match the updated .prettierrc.
Comment thread packages/lexical-clipboard/src/clipboard.ts Dismissed
@etrepum etrepum added the extended-tests Run extended e2e tests on a PR label Apr 27, 2026
@etrepum etrepum added this pull request to the merge queue Apr 27, 2026
Merged via the queue into main with commit 00fabd2 Apr 27, 2026
50 checks passed
@etrepum etrepum mentioned this pull request Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants