Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Trailing comma #67

@danez

Description

@danez

Currently it is not allowed to have a trailing comma inside the import call, but maybe it would be nice to be able to do that.

The reasons for trailing commas are usually about adding/removing elements from a multiline list of elements. This obviously does not apply here as import always has one argument, but it still would be nice to have this possibility for the sake of consistency with function calls.
Especially for code formatters I can see that it would be a little bit easier to treat import calls the same as function calls.

Was there already a decision on this and what's your opinion on this?
Should I try to create a PR?

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