Skip to content

Conversation

LinusBorg
Copy link
Member

We currently create an empty prettier config if no specific eslint style (standard/airbnb) is used.

But an empty prettier config does not match the code generated from create-vue's template, i.e. the code uses single quotes, but prettier's default is singleQuotes: false

This PR copies over the pretttier config used in the create-vuecodebase (with which the template source files were formatted) to create a config that matches the style present in the generated project.

@haoqunjiang haoqunjiang merged commit 5647b57 into main Jan 26, 2023
@haoqunjiang haoqunjiang deleted the linusborg/prettier-initial-config branch January 26, 2023 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants