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

docs: use kcd-scripts Prettier config #894

Merged
merged 3 commits into from
Jul 21, 2021
Merged

docs: use kcd-scripts Prettier config #894

merged 3 commits into from
Jul 21, 2021

Conversation

nickserv
Copy link
Member

@nickserv nickserv commented Jul 20, 2021

kcd-scripts is used by almost all Testing Library packages, and it includes a Prettier config by default. For consistent formatting between source files, readmes, and docs, the docs repository should use the same Prettier config. I achieved this by simply installing kcd-scripts and re-exporting its Prettier config, so we don't need to change our build config.

@nickserv nickserv changed the title docs: use kcd-scripts Prettier config docs: use kcd-scripts Prettier config Jul 20, 2021
Copy link
Member

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense 👍🏻

@nickserv nickserv merged commit ea810b7 into main Jul 21, 2021
@nickserv nickserv deleted the prettier branch July 21, 2021 22:38
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