Skip to content

Comments

refactor(oxfmt): Rename FormatFileSource > FormatFileStrategy#16635

Merged
graphite-app[bot] merged 1 commit intomainfrom
12-09-refactor_oxfmt_rename_formatfilesource_formatfilestrategy
Dec 10, 2025
Merged

refactor(oxfmt): Rename FormatFileSource > FormatFileStrategy#16635
graphite-app[bot] merged 1 commit intomainfrom
12-09-refactor_oxfmt_rename_formatfilesource_formatfilestrategy

Conversation

@leaysgur
Copy link
Member

@leaysgur leaysgur commented Dec 9, 2025

Addressed review in #16593

  • Add OxfmtOptions struct
  • Rename FormatFileSource to FormatFileStrategy
    • And include package.json as ExternalFormatterPackageJson variant

Copy link
Member Author

leaysgur commented Dec 9, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@leaysgur leaysgur changed the title refactor(oxfmt): Rename FormatFileSource > FormatFileStrategy refactor(oxfmt): Rename FormatFileSource > FormatFileStrategy Dec 9, 2025
@leaysgur leaysgur requested review from Boshen and Dunqing December 9, 2025 08:58
@Dunqing Dunqing added the 0-merge Merge with Graphite Merge Queue label Dec 10, 2025
Copy link
Member

Dunqing commented Dec 10, 2025

Merge activity

…6635)

Addressed review in #16593

- Add `OxfmtOptions` struct
- Rename `FormatFileSource` to `FormatFileStrategy`
  - And include `package.json` as `ExternalFormatterPackageJson` variant
@graphite-app graphite-app bot force-pushed the 12-08-feat_oxfmt_enable_experimental_package.json_sorting_by_default branch from 8649cfa to 28e0682 Compare December 10, 2025 01:47
@graphite-app graphite-app bot force-pushed the 12-09-refactor_oxfmt_rename_formatfilesource_formatfilestrategy branch from 7292230 to 569abe2 Compare December 10, 2025 01:48
Base automatically changed from 12-08-feat_oxfmt_enable_experimental_package.json_sorting_by_default to main December 10, 2025 01:53
@graphite-app graphite-app bot merged commit 569abe2 into main Dec 10, 2025
19 checks passed
@graphite-app graphite-app bot deleted the 12-09-refactor_oxfmt_rename_formatfilesource_formatfilestrategy branch December 10, 2025 01:53
@graphite-app graphite-app bot removed 0-merge Merge with Graphite Merge Queue labels Dec 10, 2025
Copilot AI pushed a commit that referenced this pull request Dec 10, 2025
…6635)

Addressed review in #16593

- Add `OxfmtOptions` struct
- Rename `FormatFileSource` to `FormatFileStrategy`
  - And include `package.json` as `ExternalFormatterPackageJson` variant
taearls pushed a commit to taearls/oxc that referenced this pull request Dec 11, 2025
…c-project#16635)

Addressed review in oxc-project#16593

- Add `OxfmtOptions` struct
- Rename `FormatFileSource` to `FormatFileStrategy`
  - And include `package.json` as `ExternalFormatterPackageJson` variant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-formatter Area - Formatter C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants