Skip to content

chore(lint): dogfood oxlint options.typeAware and typeCheck opts#19923

Merged
graphite-app[bot] merged 1 commit into
mainfrom
c/03-02-chore_lint_dogfood_oxlint_options.typeaware_and_typecheck_opts
Mar 2, 2026
Merged

chore(lint): dogfood oxlint options.typeAware and typeCheck opts#19923
graphite-app[bot] merged 1 commit into
mainfrom
c/03-02-chore_lint_dogfood_oxlint_options.typeaware_and_typecheck_opts

Conversation

@camc314

@camc314 camc314 commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@camc314 camc314 self-assigned this Mar 2, 2026
@camc314 camc314 marked this pull request as ready for review March 2, 2026 12:13
Copilot AI review requested due to automatic review settings March 2, 2026 12:13

camc314 commented Mar 2, 2026

Copy link
Copy Markdown
Contributor 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.

@github-actions github-actions Bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Mar 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 repository’s oxlint tooling to “dogfood” the new config-based options.typeAware and options.typeCheck settings, moving those behaviors out of CLI flags and into the shared oxlintrc.json configuration.

Changes:

  • Bump oxlint dependency from ^1.45.0 to ^1.51.0 (and update the lockfile accordingly).
  • Remove --type-aware and --type-check from the lint script CLI invocation.
  • Enable "options": { "typeAware": true, "typeCheck": true } in oxlintrc.json.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
pnpm-lock.yaml Updates the locked oxlint version to match the dependency bump.
package.json Bumps oxlint and switches lint behavior to be driven by config rather than CLI flags.
oxlintrc.json Enables typeAware and typeCheck via config options.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@graphite-app

graphite-app Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

Merge activity

@camc314 camc314 force-pushed the c/03-02-chore_lint_dogfood_oxlint_options.typeaware_and_typecheck_opts branch from 417dcc9 to 3028380 Compare March 2, 2026 12:35
@camc314 camc314 added the 0-merge Merge with Graphite Merge Queue label Mar 2, 2026
@graphite-app graphite-app Bot force-pushed the c/03-02-chore_lint_dogfood_oxlint_options.typeaware_and_typecheck_opts branch from 3028380 to 4dd107c Compare March 2, 2026 12:41
@graphite-app graphite-app Bot merged commit 4dd107c into main Mar 2, 2026
19 checks passed
@graphite-app graphite-app Bot deleted the c/03-02-chore_lint_dogfood_oxlint_options.typeaware_and_typecheck_opts branch March 2, 2026 12:48
@graphite-app graphite-app Bot removed the 0-merge Merge with Graphite Merge Queue label Mar 2, 2026
Boshen added a commit to oxc-project/eslint-plugin-oxlint that referenced this pull request Mar 3, 2026
## Summary
- upgrade oxlint to latest
- migrate `--type-aware` / `--type-check` from CLI usage to `oxlint`
config `options`
- refresh lockfiles/config as needed

## Context
Aligned with the oxlint options migration introduced in
oxc-project/oxc#19923.
Boshen added a commit to oxc-project/coc-oxc that referenced this pull request Mar 3, 2026
## Summary
- upgrade oxlint to latest
- migrate `--type-aware` / `--type-check` from CLI usage to `oxlint`
config `options`
- refresh lockfiles/config as needed

## Context
Aligned with the oxlint options migration introduced in
oxc-project/oxc#19923.
Boshen added a commit to oxc-project/oxc-node that referenced this pull request Mar 3, 2026
## Summary
- upgrade oxlint to latest
- migrate `--type-aware` / `--type-check` from CLI usage to `oxlint`
config `options`
- refresh lockfiles/config as needed

## Context
Aligned with the oxlint options migration introduced in
oxc-project/oxc#19923.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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.

2 participants