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

semicolons stripped in React #152

Open
ericandrewscott opened this issue Sep 5, 2024 · 2 comments
Open

semicolons stripped in React #152

ericandrewscott opened this issue Sep 5, 2024 · 2 comments
Labels
API question under discussion The Code Connect team is currently discussing this request

Comments

@ericandrewscott
Copy link

Is there a setting to avoid stripping semicolons from React code? They're in my examples, but are getting removed.

@slees-figma
Copy link

Hey @ericandrewscott! Thanks for your interest - we're looking into either allowing specifying prettier config or trying to deduce config from code. Right now we don't expose any means to control example formatting

@slees-figma slees-figma added the under discussion The Code Connect team is currently discussing this request label Sep 5, 2024
@ericandrewscott
Copy link
Author

@slees-figma this would be awesome. You could also enforce eslint configs (as well as prettier).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API question under discussion The Code Connect team is currently discussing this request
Projects
None yet
Development

No branches or pull requests

2 participants