Skip to content

Check for trailing commas in record types #1430

@tykus160

Description

@tykus160

Motivation

Add a rule to check does record types (objects, typedefs, etc.) have trailing comma in the last line.

Current behavior

Trailing commas are not validated.

Desired behavior

Add a rule similar to existing rule in ESLint Stylistic https://eslint.style/rules/comma-dangle

Alternatives considered

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions