Skip to content

[@docusaurus/eslint-plugin] Add plugin setting to recommended eslint config #8280

@lachieh

Description

@lachieh

Have you read the Contributing Guidelines on issues?

Motivation

In the documentation for the eslint-plugin, the instructions mention that it is a requirement to add the plugin to the project's eslint config before the plugin:@docusaurus/recommended config can be added.

It is pretty standard now to have the recommended configuration add the plugin into the recommended config so that adding the appropriate plugin happens automatically:

I am suggesting that the same change be implemented in this plugin as well. This will allow for easier configuration and better alignment to community patterns.

Self-service

  • I'd be willing to do some initial work on this proposal myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalThis issue is a proposal, usually non-trivial change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions