Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Aug 18, 2025

Fix lint errors in oxc_traverse codegen.

It doesn't seem worthwhile adding descriptions to all properties of the type defs, since intention is to translate this codegen to Rust anyway. So just disable that rule.

@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Aug 18, 2025
Copy link
Member Author


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.

@overlookmotel overlookmotel marked this pull request as ready for review August 18, 2025 12:34
Copilot AI review requested due to automatic review settings August 18, 2025 12:34
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 refactors the lint configuration and fixes lint errors in the oxc_traverse codegen scripts. The changes remove a file from the lint ignore list and address specific linting issues in the parse module.

  • Remove crates/oxc_traverse/scripts/lib/parse.mjs from the oxlint ignore list
  • Fix ESLint JSDoc and async/await patterns in the parse script
  • Disable JSDoc property description requirement for codegen files

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
oxlintrc.json Removes parse.mjs from lint ignore list to enable linting
crates/oxc_traverse/scripts/lib/parse.mjs Fixes lint violations with JSDoc disable comment, async patterns, and parameter documentation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Aug 18, 2025
Copy link
Member Author

overlookmotel commented Aug 18, 2025

Merge activity

Fix lint errors in `oxc_traverse` codegen.

It doesn't seem worthwhile adding descriptions to all properties of the type defs, since intention is to translate this codegen to Rust anyway. So just disable that rule.
@graphite-app graphite-app bot force-pushed the 08-18-refactor_traverse_fix_lint_errors_in_codegen branch from 6431b63 to 72880a7 Compare August 18, 2025 12:59
@graphite-app graphite-app bot merged commit 72880a7 into main Aug 18, 2025
17 checks passed
@graphite-app graphite-app bot deleted the 08-18-refactor_traverse_fix_lint_errors_in_codegen branch August 18, 2025 13:04
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Aug 18, 2025
overlookmotel added a commit that referenced this pull request Aug 18, 2025
Partially revert #13186. Linter had suggested to parallelize this code,
but that was a bad idea as it makes the output of the codegen
non-deterministic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants