Skip to content

fix(linter): make generate-plugin-eslint script work on windows#20246

Merged
graphite-app[bot] merged 1 commit intomainfrom
c/03-11-fix
Mar 12, 2026
Merged

fix(linter): make generate-plugin-eslint script work on windows#20246
graphite-app[bot] merged 1 commit intomainfrom
c/03-11-fix

Conversation

@camc314
Copy link
Contributor

@camc314 camc314 commented Mar 11, 2026

No description provided.

Copy link
Contributor Author

camc314 commented Mar 11, 2026


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 changes, fast-track this PR to the front of the merge queue

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.

@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI labels Mar 11, 2026
@camc314 camc314 changed the title fix fix(linter): make generate-plugin-eslint script work on windows Mar 11, 2026
@github-actions github-actions bot added the C-bug Category - Bug label Mar 11, 2026
@camc314 camc314 force-pushed the c/03-11-fix branch 4 times, most recently from 86f9d9e to f33e500 Compare March 11, 2026 22:58
@camc314 camc314 marked this pull request as ready for review March 11, 2026 23:01
Copilot AI review requested due to automatic review settings March 11, 2026 23:01
@camc314 camc314 self-assigned this Mar 11, 2026
@camc314 camc314 added the 0-merge Merge with Graphite Merge Queue label Mar 11, 2026
Copy link
Contributor Author

camc314 commented Mar 11, 2026

Merge activity

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 updates the generate-plugin-eslint build script to run the oxfmt formatting step in a way that works on Windows (where invoking pnpm via execFileSync can fail due to the .cmd wrapper).

Changes:

  • Replace execFileSync("pnpm", [...]) with a shell-based execSync("pnpm exec ...") invocation to improve Windows compatibility.

You can also share your feedback on Copilot code review. Take the survey.

@graphite-app graphite-app bot merged commit f26e6ab into main Mar 12, 2026
19 checks passed
@graphite-app graphite-app bot deleted the c/03-11-fix branch March 12, 2026 09:22
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 12, 2026
graphite-app bot pushed a commit that referenced this pull request Mar 12, 2026
# Oxlint
### 🐛 Bug Fixes

- 6b46ce8 oxlint: Ignore inherited root-only options in nested configs (#20291) (camc314)
- bc20217 oxlint,oxfmt: Omit useless `| null` for `Option<T>` field from schema (#20273) (leaysgur)
- f26e6ab linter: Make `generate-plugin-eslint` script work on windows (#20246) (camc314)

### 📚 Documentation

- e4aa5b5 parser/napi, linter/plugins: Add JSDoc comments to raw transfer constants (#20286) (overlookmotel)
- f339f10 linter/plugins: Promote JS plugins to alpha status (#20281) (overlookmotel)
# Oxfmt
### 🐛 Bug Fixes

- 96f761f oxfmt: Ensure stdin blocking mode is set for non-TTY environments (#20289) (camc314)
- bc20217 oxlint,oxfmt: Omit useless `| null` for `Option<T>` field from schema (#20273) (leaysgur)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-linter Area - Linter C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants