Skip to content

clg semicolon #218

Closed
Closed
@mecirmartin

Description

@mecirmartin

Hey, your extension is great, but i have trouble with clg each and every day
When using arrow function and clg snippet, the semicolon at the end introduces syntax error

For example:
i am writing code like this:

fetch('x').then(res => clg)

this creates

fetch('x').then(res => console.log();)

which is obviously syntax error and i have to remove the semicolon
is there any chance the semicolon could be removed from the snippet? Thanks for the answer

Would love to create PR for this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions