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

Add no-multi-str to overrides config #27

Closed
cdfa opened this issue Aug 3, 2019 · 2 comments
Closed

Add no-multi-str to overrides config #27

cdfa opened this issue Aug 3, 2019 · 2 comments

Comments

@cdfa
Copy link

cdfa commented Aug 3, 2019

Due to mdx-js/mdx#195, we can't use multi-line template strings in MDX (for use with styled-components for example). Therefore, I think we should disable no-multi-str in the overrides config.

@JounQin
Copy link
Member

JounQin commented Aug 3, 2019

@cdfa But it does work without empty line:

export default () => `<div>
content
</div>`

I tested it on https://mdxjs.com/playground/

@cdfa
Copy link
Author

cdfa commented Aug 3, 2019

Hmm, my apologies, it seems to be an issue with another package and not mdx in general.

@cdfa cdfa closed this as completed Aug 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants