Skip to content

comma-dangle eslint error in legacy rules #741

Closed
@GeyseR

Description

@GeyseR

Hi!

In https://github.com/airbnb/javascript/tree/master/es5#commas you have note about trailing commas: Additional trailing comma: Nope. This can cause problems with IE6/7 and IE9 if it's in quirksmode. Also, in some implementations of ES3 would add length to an array if it had an additional trailing comma

But comma-dangle rule is presented in airbnb/legacy rule set.

What do you think about excluding this rule from airbnb/legacy?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions