Skip to content

EOL error on Windows and CRLF with SASS mixins #593

@Storm203

Description

@Storm203

When using CSSComb on a SASS file that has multiple includes in a single selector, in a file on Windows that is using CRLF for EOL, the indenting gets all buggy:

Before CSSComb:

#created_by_container{
	@include display-flex;
	@include flex-direction(column);
	@include justify-content(center);
	@include align-items(center);
}

After CSSComb:

#created_by_container{
	@include display-flex;

@include flex-direction(column);

@include justify-content(center);

@include align-items(center);
}

This does not occur when using LF only, however there is no git option to check out CRLF as LF and then commit back as CRLF (only the reverse exists).

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