Coder Social home page Coder Social logo

Comments (7)

nzakas avatar nzakas commented on June 9, 2024

@xjamundx do you want to take a look at this?

from espree.

xjamundx avatar xjamundx commented on June 9, 2024

Will totally check this out. Though here's what I'm seeing in Chrome with the same code:
screen shot 2015-02-10 at 12 28 39 pm

Also some weird stuff here in the result:
http://esprima.org/demo/parse.html?code=left%20%3D%20(aSize.width%2F2)%20-%20()

I suppose the expected behavior is "not crash" though :)

from espree.

oaleynik avatar oaleynik commented on June 9, 2024

@xjamundx if run eslint with --rule {"arrowFunctions": false} - it runs nicely, eslint reports Unexpected token ) as expected, but with default settings it's crashing

from espree.

xjamundx avatar xjamundx commented on June 9, 2024

FYI this was solved in the destructuring PR

from espree.

xjamundx avatar xjamundx commented on June 9, 2024

I'll write some tests to ensure it

from espree.

xjamundx avatar xjamundx commented on June 9, 2024

When I set config.parser to the path of the master of espree and run eslint I see:
screen shot 2015-02-10 at 1 48 05 pm

from espree.

nzakas avatar nzakas commented on June 9, 2024

Ooh nice, thanks for the update.

from espree.

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.