Skip to content

docs: correct which properties extends supports and how each merges - #1236

Open
FarisTF wants to merge 2 commits into
oxc-project:mainfrom
FarisTF:docs/extends-property-semantics
Open

docs: correct which properties extends supports and how each merges#1236
FarisTF wants to merge 2 commits into
oxc-project:mainfrom
FarisTF:docs/extends-property-semantics

Conversation

@FarisTF

@FarisTF FarisTF commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Corrects the list of properties extends supports on the nested-config page and states how each one merges.

The current list (rules, plugins, overrides) is missing three properties that do extend:

  • jsPlugins
  • categories
  • options

(verified against Oxlintrc::merge in crates/oxc_linter/src/config/oxlintrc.rs, and by hand on oxlint 1.75.0)

The page now also states explicitly which properties are not inherited:

  • settings
  • env
  • globals
  • ignorePatterns

The ignorePatterns case surprised me in a monorepo setup: an ignore list in a shared base config silently does nothing for the configs that extend it.

Follow-up to #1228, same page.

I used Claude Code to help draft this; I verified each property's behavior against the source and by running oxlint 1.75.0 myself.

@netlify

netlify Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploy Preview for oxc-project ready!

Name Link
🔨 Latest commit 1c30b6a
🔍 Latest deploy log https://app.netlify.com/projects/oxc-project/deploys/6a6aa7efd45ef9000857a420
😎 Deploy Preview https://deploy-preview-1236--oxc-project.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@Boshen
Boshen requested a review from camc314 August 3, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants