Skip to content

Conflict between ESLint, Prettier, and VS Code Auto Formatting on Save #236

Closed
@ghost

Description

I used create-vue to create a new project with both ESLint and Prettier enabled.

I also configured VS Code to auto-format on save without any additional customizations.

When I ran npm run lint, I got the formatting results I wanted. However, when I hit ctrl + S to save, the formatting changed to a style I did not want. This has caused a conflict, and I'm not sure how to resolve it. Could you please help me understand what's causing this and how to fix it?

Thank you. ❤️

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