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

Error setting tab width for prettier #33

Closed
xiavn opened this issue Jan 10, 2018 · 1 comment
Closed

Error setting tab width for prettier #33

xiavn opened this issue Jan 10, 2018 · 1 comment

Comments

@xiavn
Copy link

xiavn commented Jan 10, 2018

Hi there,

When attempting to set the tab-width option for prettier using the command line arguments ( --tab-width 4) an error is returned:

● Validation Error:

Option "tabWidth" must be of type:
number
but instead received:
boolean

Example:
{
"tabWidth": 2
}

In addition I've noticed on your online example site, if you attempt to change the tab widths it appears to fail, and the svg side of the site stays grey like it does when loading.

@gregberge
Copy link
Owner

Thank you! It is definitely a bug, I think it is easy to fix, I am open to PR 😊

gregberge added a commit that referenced this issue Jan 31, 2018
gregberge added a commit that referenced this issue Jan 31, 2018
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