Skip to content

Unable to parse with break lines and trailing commas #159

@krailler

Description

@krailler

I use airbnb eslint, and it use the following rule: http://eslint.org/docs/rules/comma-dangle

I am writing code with trailing commas but l10ns can't parse it...

return l(
    'my->super->string',
    { playerName: 'playername' },   <<-- WITH COMMA UPDATE WAS FAILED
)

l10ns only parse if has not trailing commas

return l(
    'my->super->string',
    { playerName: 'playername' }
)

Any help or update?
PD: Sorry for my english

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions