Skip to content

Add an alternative for @vue/cli-plugin-eslint that uses prettier-eslint #4770

Open
@nolde

Description

@nolde

What problem does this feature solve?

Vue-cli already offers, out of the box, linting/styling using prettier, standard or airbnb presets.

But what about using prettier along with some of these other setups? Prettier is a lot more apt at styling the code than eslint is, and using it alongside different linters usually make sense.

By having an alternative to @vue/cli-plugin-eslint that instead of calling plain eslint, calls prettier-eslint would allow more flexibility when mixing prettier with different linting presets.

As far as I can see, code would be exactly the same, just passing in prettier configuration.

What does the proposed API look like?

vue-cli-service prettier-lint

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