Giter VIP home page Giter VIP logo

Comments (7)

JounQin avatar JounQin commented on July 26, 2024 1

Please provide a minimal runnable reproduction.

from eslint-mdx.

JounQin avatar JounQin commented on July 26, 2024 1

This error is thrown from https://github.com/mdx-js/eslint-mdx/blob/master/packages/eslint-mdx/src/traverse.ts#L57
and adjacent self-closing jsx nodes are not parsed separately, it can be handlered by wrapping with <$></$>, I'll try to fix it ASAP.

from eslint-mdx.

JounQin avatar JounQin commented on July 26, 2024 1

@cpboyd Would you like to check whether v1.6.6 works?

from eslint-mdx.

cpboyd avatar cpboyd commented on July 26, 2024

@JounQin Here you go: https://github.com/cpboyd/bug-mdx

yarn
yarn lint

And you should see the same error.

from eslint-mdx.

JounQin avatar JounQin commented on July 26, 2024

@mdx-js/maintainers Should that be parsed as separated nodes via remark-mdx?

from eslint-mdx.

JounQin avatar JounQin commented on July 26, 2024

@mdx-js/releasers Would you like to publish a patch version by yarn publish?
And is NPM_AUTH_TOKEN available in the GitHub Actions?

from eslint-mdx.

cpboyd avatar cpboyd commented on July 26, 2024

@JounQin it works, thanks!

from eslint-mdx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.