You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What source code are you linting?
We're linting an mdx file. Here's a sample snippet of the problematic markdown:
### Examples of pangrams
- The quick brown fox jumped over the lazy dog.
<Image
alt="Pangram example 1"
height={932}
sizes="(min-width: 1280px) 50vw, 100vw"
src="/pangram-example-1.jpg"
width={1915}
/>
- Sphinx of black quartz, judge my vows.
<Image
alt="Pangram example 2"
height={932}
sizes="(min-width: 1280px) 50vw, 100vw"
src="/pangram-example-2.jpg"
width={1915}
/>
What did you expect to happen?
The eslint plugin shouldn't raise an error with the <Image /> tag's spacing.
What actually happened?
The eslint plugin raises an error with the <Image /> tag's spacing like so:
I tried applying the suggested fix but it results to the ff:
I tried removing the spaces before the <Image /> tags like so:
But it resulted to the image no longer being a part of the list item and the list gets split into two, with one list for each list item.
This wasn't an issue with the prettier v3.3.3.
The text was updated successfully, but these errors were encountered:
What version of
eslint
are you using?v8.57.1
What version of
prettier
are you using?v3.4.1
What version of
eslint-plugin-prettier
are you using?v5.2.1
Please paste any applicable config files that you're using (e.g.
.prettierrc
or.eslintrc
files)What source code are you linting?
We're linting an mdx file. Here's a sample snippet of the problematic markdown:
What did you expect to happen?
The eslint plugin shouldn't raise an error with the
<Image />
tag's spacing.What actually happened?
The eslint plugin raises an error with the
<Image />
tag's spacing like so:I tried applying the suggested fix but it results to the ff:
I tried removing the spaces before the
<Image />
tags like so:But it resulted to the image no longer being a part of the list item and the list gets split into two, with one list for each list item.
This wasn't an issue with the prettier v3.3.3.
The text was updated successfully, but these errors were encountered: