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

Why are there both .prettierrc and tools/prettier.config.js? #1

Open
jjangga0214 opened this issue Dec 17, 2019 · 1 comment
Open

Comments

@jjangga0214
Copy link

jjangga0214 commented Dec 17, 2019

Hi,

why are there both .prettierrc and tools/prettier.config.js?

Thanks for the repo by the way!

@andrewthauer
Copy link
Owner

Yeah, that's probably not ideal. It would definitely make sense to consolidate these. The original rationale was to have the prettier config extendable by each package, where as the root one would handle non package files. Prettier rules should ideally be consistent, but ignoring / overriding some specific file types might be useful in some packages.

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