Skip to content

Adapt to new export format for eslint-config-xo-react #879

@Primajin

Description

@Primajin

eslint-config-xo-react 0.30.1 changed its export format from an array to a function, which is incompatible with xo 2.0.2 (which does fixupConfigRules(configReact)[0] expecting an array). Using it via an npm override causes a new error: Could not find plugin "react" in configuration.

🙏🏻

And thanks Sindre for the amazingly fast turnaround on xojs/eslint-config-xo-react#41

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions