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

Bug: Prettier fails to run on index.tsx #1

Open
cseas opened this issue Nov 4, 2020 · 0 comments
Open

Bug: Prettier fails to run on index.tsx #1

cseas opened this issue Nov 4, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@cseas
Copy link
Contributor

cseas commented Nov 4, 2020

The index.tsx file generated by the utility contains single quotes while the generated icon files follow a double quotes formatting.

Modify .svgrrc to run prettier on the index.tsx file as well.

Alternatively, remove the svgr prettier config altogether and include a separate post script that runs prettier on all the generated files according to rules defined in .prettierrc.

@cseas cseas added bug Something isn't working good first issue Good for newcomers labels Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant