Skip to content

Javascript code formatting problem with arrow functions #3953

@blitz-research

Description

@blitz-research

Hi,

I'm having a weird problem with the javascript code formatter, which I believe is called js-beautify.

It has decided to insert a space in the middle of all my arrow function arrows, so "=>" becomes "= >" which produces an error at runtime.

I can't find any relevant option in the js-beautify prefs in Komodo, so I've been looking for some kind of config file somewhere but with no success either.

Any ideas? Should I use a different beautifier?

Bye,
Mark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions