GithubHelp home page GithubHelp logo

Comments (6)

stasgavrylov avatar stasgavrylov commented on May 28, 2024 1

@jlengstorf I'm glad I could help, and PR is already waiting. Thanks for pointing me to the article repo.

from learn-rollup.

jlengstorf avatar jlengstorf commented on May 28, 2024

It looks like ESLint isn't quite set up correctly. Can you point me to the repo where you're getting this error?

from learn-rollup.

zhangwei900808 avatar zhangwei900808 commented on May 28, 2024

yes, It's found in part-2-starer switch

from learn-rollup.

jlengstorf avatar jlengstorf commented on May 28, 2024

Sorry, I meant your repo — can you link me to your repo that isn't working?

from learn-rollup.

stasgavrylov avatar stasgavrylov commented on May 28, 2024

@jlengstorf @zhangwei900808
the problem is not in the repo itself, but rather in the article - https://code.lengstorf.com/learn-rollup-js/
I also stumbled across it, but managed to find a solution. In step 3 "Update rollup.config.js" part you put eslint plugin after babel, but it should be placed before, since in that case it lints the code already transpiled by Babel. I'd sent a PR, but the article is not in the repo :)

Btw, thanks for the tutorial, it's awesome.

from learn-rollup.

jlengstorf avatar jlengstorf commented on May 28, 2024

Thanks, @stasgavrylov! I do keep the articles on GitHub (here's the section you're referencing): https://github.com/jlengstorf/code.lengstorf.com/blob/master/content/blog/learn-rollup-js.md#update-rollupconfigjs-1

If you have time to submit a PR, that would be very much appreciated. Thanks so much for posting the solution here, either way.

from learn-rollup.

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.