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

Add prettierrc #11

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Add prettierrc #11

merged 1 commit into from
Feb 29, 2024

Conversation

andrewiggins
Copy link
Member

Specify this repositories style so when it is included in other repos the current style is maintained.

When submoduled into a repo like Preact core, Prettier in VSCode inherits the parents style. Adding this so that the current style is maintained.

Alternatively, I could update this repo's style to match Preact core. Do people have a preference?

Specify this repositories style so when it is included in other repos the current style is maintained
Copy link
Member

@rschristian rschristian left a comment

Choose a reason for hiding this comment

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

I missed that being able to checkout/submodule this repo was a stated goal, man does that sound useful.

@andrewiggins andrewiggins merged commit c99bb70 into main Feb 29, 2024
1 check passed
@andrewiggins andrewiggins deleted the prettierrc branch February 29, 2024 19:58
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.

3 participants