Skip to content

chore: enable oxlint for the entire monorepo#13173

Merged
Boshen merged 1 commit intomainfrom
oxlint
Aug 18, 2025
Merged

chore: enable oxlint for the entire monorepo#13173
Boshen merged 1 commit intomainfrom
oxlint

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Aug 18, 2025

Also enabled --type-aware.

Copilot AI review requested due to automatic review settings August 18, 2025 07:01
@Boshen Boshen requested a review from camc314 as a code owner August 18, 2025 07:01
@graphite-app
Copy link
Contributor

graphite-app bot commented Aug 18, 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.

@github-actions github-actions bot added the A-editor Area - Editor and Language Server label Aug 18, 2025
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 enables oxlint for the entire monorepo by adding a centralized configuration and updating package dependencies. The changes consolidate linting configuration from individual workspace packages to a monorepo-wide approach.

  • Adds a global oxlint configuration file with comprehensive plugin support
  • Updates oxlint dependency version and adds a new lint script to the root package.json
  • Removes oxlint dependency from the VSCode editor package and consolidates its configuration

Reviewed Changes

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

Show a summary per file
File Description
package.json Adds lint script and updates oxlint dependencies for monorepo-wide linting
editors/vscode/package.json Removes oxlint dependency and updates TypeScript to use catalog reference
editors/vscode/client/ConfigService.ts Adds void operator to silence unused return value warning
editors/vscode/.oxlintrc.json Removes local oxlint configuration file
.oxlintrc.json Adds comprehensive monorepo-wide oxlint configuration with plugins and ignore patterns
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

@Boshen Boshen force-pushed the oxlint branch 2 times, most recently from ea8f58f to 99bc1b1 Compare August 18, 2025 07:16
@Boshen Boshen merged commit 93ad89a into main Aug 18, 2025
18 of 19 checks passed
@Boshen Boshen deleted the oxlint branch August 18, 2025 07:45
@Boshen Boshen changed the title chore: enable oxlint for the enable monorepo chore: enable oxlint for the entire monorepo Aug 18, 2025
graphite-app bot pushed a commit that referenced this pull request Aug 18, 2025
Same as #13184.

#13173 enabled Oxlint for all the repo, but we currently skip `napi` directory.

Fix all errors that Oxlint flags in `napi/parser`.

We currently can't turn on Oxlint for the directory, because `oxlint-disable` comments don't work for type-aware rules, but we should be able to once that's fixed.
graphite-app bot pushed a commit that referenced this pull request Aug 19, 2025
#13173 enabled Oxlint for all the repo, but we currently skip `napi` directory.

Fix all errors that Oxlint flags in `napi/oxlint2`.

We currently can't turn on Oxlint for the directory, because `oxlint-disable` comments don't work for type-aware rules, but we should be able to once that's fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-editor Area - Editor and Language Server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants