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

Web components: Fix code indents #63

Open
mejiaj opened this issue Sep 3, 2024 · 1 comment
Open

Web components: Fix code indents #63

mejiaj opened this issue Sep 3, 2024 · 1 comment

Comments

@mejiaj
Copy link
Collaborator

mejiaj commented Sep 3, 2024

Try guidance below to fix indentation in StorybookJS code samples.


FYI, I got this working on the MD WDS project I'm working on!

Here are my notes on the workaround:
storybookjs/storybook#8078 (comment)

Originally posted by @caseywatts in #14 (comment)

@deebloo
Copy link

deebloo commented Nov 27, 2024

Another solution would be to use something like js-beautify rather then needing multiple versions of prettier.

https://github.com/Noctua-Technology/uswds/blob/main/.storybook/preview.mjs#L8

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