Skip to content

linter: JS Plugins don't work if the package is missing meta.name #14937

@wagenet

Description

@wagenet

What version of Oxlint are you using?

1.24.0

What command did you run?

No response

What does your .oxlintrc.json config file look like?

{
  "jsPlugins": ["eslint-plugin-freeze-global"]
}

What happened?

Failed to parse configuration file.

  × Failed to load JS plugin: eslint-plugin-freeze-global
  │   TypeError: Cannot read properties of undefined (reading 'name')
  │     at loadPluginImpl (file:///[MY REPO]/node_modules/.pnpm/oxlint@1.24.0/node_modules/oxlint/dist/plugins.js:820:31)
  │     at async loadPlugin (file:///[MY REPO]/node_modules/.pnpm/oxlint@1.24.0/node_modules/oxlint/dist/plugins.js:810:13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions