Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not include empty Prettier config file #304

Closed
aentwist opened this issue Jun 23, 2023 · 2 comments
Closed

Do not include empty Prettier config file #304

aentwist opened this issue Jun 23, 2023 · 2 comments

Comments

@aentwist
Copy link

Description

Including an empty file in a template is silly. Especially when Prettier itself would probably encourage you not to use the file. The mission statement of Prettier is to be 'an opinionated formatter', taking the configuration out of formatting with opinionated defaults.

You could say, well it's simple to delete. Sure, but I say, well it's simple to create. I would wager the majority of Prettier users are not using this file. Especially given Prettier's attitude.

See also #300

@haoqunjiang
Copy link
Member

The official Prettier documentation encourages users to "create an empty config file to let editors and other tools know you are using Prettier".
It is not silly.

@haoqunjiang haoqunjiang closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2023
@haoqunjiang
Copy link
Member

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

No branches or pull requests

2 participants