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

lint: prettier introduces --- in some YAML blocks #532

Closed
jorgeorpinel opened this issue Aug 8, 2019 · 3 comments
Closed

lint: prettier introduces --- in some YAML blocks #532

jorgeorpinel opened this issue Aug 8, 2019 · 3 comments
Labels
A: docs Area: user documentation (gatsby-theme-iterative) 🐛 type: bug Something isn't working. website: eng-doc DEPRECATED JS engine for /doc

Comments

@jorgeorpinel
Copy link
Contributor

When a ```yaml block starts with ..., `prettier` changes that for `---`.

See #530 (review) and #530 (review)

@shcheklein shcheklein added 🐛 type: bug Something isn't working. A: docs Area: user documentation (gatsby-theme-iterative) website: eng-doc DEPRECATED JS engine for /doc labels Aug 8, 2019
@shcheklein
Copy link
Member

another option is to avoid using ... ... just use a regular YAML comment?

@jorgeorpinel
Copy link
Contributor Author

Yes good thinking... Changed in 2536b99 (included in my open PR) But why is prettier doing that?

@algomaster99 do you think this is fixable? If not feel free to just close the issue guys. Thanks

@shcheklein
Copy link
Member

I don't know why :) but since we have a workaround, let's close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: docs Area: user documentation (gatsby-theme-iterative) 🐛 type: bug Something isn't working. website: eng-doc DEPRECATED JS engine for /doc
Projects
None yet
Development

No branches or pull requests

2 participants