Skip to content

linter: env config is not inherited when using extends #20087

@s-h-a-d-o-w

Description

@s-h-a-d-o-w

What version of Oxlint are you using?

1.51.0

What command did you run?

oxlint

What does your .oxlintrc.json (or oxlint.config.ts) config file look like?

Please see: https://github.com/s-h-a-d-o-w/oxlint-repro

What happened?

When a config extends another, it doesn't inherit env and so globals can't be found.

I guess it's conceptually related to issues such as this: #19932
And this: #20073
In that you don't seem to merge configs at the moment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions