Skip to content

docs(linter): Fix formatting for empty-brace-spaces rule example.#18203

Merged
graphite-app[bot] merged 1 commit intomainfrom
fmt-fix
Jan 19, 2026
Merged

docs(linter): Fix formatting for empty-brace-spaces rule example.#18203
graphite-app[bot] merged 1 commit intomainfrom
fmt-fix

Conversation

@connorshea
Copy link
Member

Add ignore comments to prevent oxfmt/prettier reformatting the example code here.

Pointed out by oxc-project/website#801

@connorshea connorshea requested a review from camc314 as a code owner January 19, 2026 01:38
Copilot AI review requested due to automatic review settings January 19, 2026 01:38
@github-actions github-actions bot added A-linter Area - Linter C-docs Category - Documentation. Related to user-facing or internal documentation labels Jan 19, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds prettier-ignore comments to the documentation of the empty-brace-spaces linter rule to prevent automatic code formatters from reformatting the intentionally incorrect example code.

Changes:

  • Added <!-- prettier-ignore-start --> and <!-- prettier-ignore-end --> comments around the "incorrect" code examples in the rule documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 19, 2026

Merging this PR will not alter performance

✅ 4 untouched benchmarks
⏩ 41 skipped benchmarks1


Comparing fmt-fix (22c640c) with main (138637c)

Open in CodSpeed

Footnotes

  1. 41 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@connorshea connorshea added the 0-merge Merge with Graphite Merge Queue label Jan 19, 2026
Copy link
Member Author

connorshea commented Jan 19, 2026

Merge activity

…8203)

Add ignore comments to prevent oxfmt/prettier reformatting the example code here.

Pointed out by oxc-project/website#801
@graphite-app graphite-app bot merged commit c1c152b into main Jan 19, 2026
21 checks passed
@graphite-app graphite-app bot deleted the fmt-fix branch January 19, 2026 01:56
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-linter Area - Linter C-docs Category - Documentation. Related to user-facing or internal documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants