Skip to content

Prettier installed as devDependency but not runΒ #1302

@MattIPv4

Description

@MattIPv4

πŸ‘‹ While I've been working on a couple of PRs I noticed that Prettier is installed as a dev dependency and there is a minimal Prettier config in the repository, but Prettier never seems to actually be run, nor does there seem to be any CI check for it.

I do see that prettier is in the ESLint extends, but as far as I can tell that only disbles rules that'd interfere with Prettier being run via the CLI -- you'd need to have eslint-plugin-prettier installed (which would then be plugin:prettier/recommended in the extends) to actually run Prettier as part of ESLint, I think.

Am I missing something, and it is working, just not the way I expect

If not, is it desired to have it working? Via the ESLint plugin, or separately with the Prettier CLI?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions