Skip to content

Better support for ES6 #103

@bookercodes

Description

@bookercodes

Consider the following JS code:

export default function() {
}

Upon running vim-jsbeautify the code is transformed into...

export 
default function() {
}

...Which is clearly erroneous.

When I run the same code through the online beautifer the code is formatted as I would expect. I suspect the jsbeautify dependency needs updating?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions