Skip to content

spaces around dots (.) are not removed #469

@silversquirl

Description

@silversquirl

Alejandra normally has strong opinions around where spaces should and shouldn't go, but in the case of attrset access (eg. foo . bar, it doesn't change the spacing at all:

$ echo ' {   a     .   b    =   {     } ;   }' | alejandra -q
{a     .   b = {};}

I would expect the following output:

$ echo ' {   a     .   b    =   {     } ;   }' | alejandra -q
{a.b = {};}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions