Open JounQin opened 7 months ago
eslint-plugin-mdx
No response
import { Baz } from './Fixture' export const foo = { hi: `Fudge ${Baz.displayName || 'Baz'}`, authors: [ 'fred', 'sally' ] } export const hello = 'hello' # Hello, world! I'm an awesome paragraph. { /* I'm a comment */ } <Foo bg="red"> <Bar>hi </Bar> { hello } { /* another comment */} </Foo>
test codeblock
```js module.exports = 'test'
npm i -g foo
export default ({children }) => < div>{ children}
### Expected behavior Format with `eslint-plugin-prettier` same as `prettier` cli itself ### Actual behavior Incorrect formatting ### Runtime Node v20 ### Package manager yarn v1 ### OS macOS ### Build and bundle tools Rollup
Initial checklist
Affected packages and versions
eslint-plugin-mdx
Link to runnable example
No response
Steps to reproduce
test codeblock
export default ({children }) => < div>{ children}